private void ExchangeInputAndOutputReports() .... fileStreamDeviceData.Write(outputReportBuffer, 0, outputReportBuffer.Length);
System.IO.IOException was caught Message=IO operation will not work. Most likely the file will become too long or the handle was not opened to support synchronous IO operations. Source=mscorlib StackTrace: at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count) at GenericHid.FrmMain.ExchangeInputAndOutputReports() in C:\Users\Mike\Documents\Visual Studio 2010\Projects\generic_hid_cs\FrmMain.cs:line 1256 InnerException:
MyHid.Capabilities.InputReportByteLength = 0x0040MyHid.Capabilities.OutputReportByteLength = 0x0040