This object is derived from a base class and does not have a parent class. 
Perhaps the default class cannot be found. 

解决方案 »

  1.   

    WriteFile函数的第一参数好像应该是文件的句柄吧 ,你的是吗?
    你好像是设备句柄
      

  2.   

    句柄没有错,我已经调试过了,我该了SendBufferLength的大小为9,就调试通过了,好像这与usb报告描述符的大小有关,具体怎样我也说不清楚
    谢谢你们的回贴
      

  3.   

    提供给请求操作的用户缓冲区无效。
     SendDataBuffer='A'+i; //是这样的么?
      

  4.   

    我的程序里用的是:SendDataBuffer[i]='A'+i; 
    不是这里的错,应该是和报告描述符有关的东西