Recent Posts

Pages: [1] 2 3 ... 10
2
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 05, 2019, 12:06:26 am »
Hi,

now I found something.
If I set the Framework on 4,5 then the following Method shows an error.
See attachments

And this error will generated from
Quote
fileStreamdevicedata.BeginRead(inputReportBuffer, 0, inputReportBuffer.Length, New AsyncCallback(AddressOf GetInputReportData), inputReportBuffer)

3
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Jan Axelson on December 04, 2019, 09:17:33 am »
I'm not sure when I'll have time to look at this in more detail but will post if I have a fix. In the meantime, suggest using an earlier edition of .NET that works.
4
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 04, 2019, 12:36:36 am »
Good morning,

no I have not set a breakpoint.
6
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 03, 2019, 04:36:49 pm »
Hallo,

at this row stopped the debugger

Quote

  fileStreamdevicedata.BeginRead(inputReportBuffer, 0, inputReportBuffer.Length, New AsyncCallback(AddressOf GetInputReportData), inputReportBuffer)

Error msg:
Quote
Eine Ausnahme (erste Chance) des Typs "System.AccessViolationException" ist in mscorlib.dll aufgetreten.

I have set Framework on 4,5
And CPU = X86
7
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Jan Axelson on December 03, 2019, 02:29:21 pm »
Use breakpoints, single stopping.

https://stackify.com/debugging-tips-net/
8
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 03, 2019, 12:31:30 pm »
How can I determine where exactly that fails?

9
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Jan Axelson on December 03, 2019, 12:04:50 pm »
Changing the build worked for me. If you can find where the code is failing we might be able to help.
10
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 03, 2019, 11:32:38 am »
I have already tried, unfortunately the same behavior
Pages: [1] 2 3 ... 10