Ports and Interfaces > USB
New editions of generic hid for VB and C#
(1/1)
Jan Axelson:
In response to these issues:
http://www.janaxelson.com/forum/index.php?topic=177.msg761
I've posted new editions of generic hid for VB and C# here:
http://www.janaxelson.com/hidpage.htm#MyExampleCode
Any problems, post them here.
Jan
jcddcjjcd:
Thank you for your ongoing efforts Jan.
Do you have a summary of the changes you have made?
Regards,
John.
Jan Axelson:
The updated files didn't upload. Will report back.
Jan Axelson:
The files should be OK. Might have just been a caching problem on my end.
A brief description of the changes from the readme file:
/// V5.0
/// 3/30/11
/// Replaced ReadFile and WriteFile with FileStreams. Thanks to Joe Dunne and John on my Ports forum for tips on this.
/// Simplified Hid.cs.
/// Replaced the form timer with a system timer.
I went with FileStreams mainly so it would work in VB as well as C# without the InvalidOverlappedToPinvoke error.
Jan
Navigation
[0] Message Index
Go to full version