kmhertz
驱动牛犊
驱动牛犊
  • 注册日期2002-11-12
  • 最后登录2005-01-07
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:929回复:0

DriverSuite下串口例子加上TDI功能的问题!太怪啦!

楼主#
更多 发布于:2003-08-07 17:49
我想在例子serial程序中加上访问SOCKET的功能,就是从串口收到数据后发送给一个SOCKET,我在VC的SETTING中加上了TDI所要的环境。然后写了个类(从KStreamSocket继承的),在class SerialDevice中访问,但是编译时编不过克,错误如下:
error C2629: unexpected \'class SharedInterrupt (\'
E:\\drivertest\\serial\\shareint.h(48) : error C2238: unexpected token(s) preceding \';\'
E:\\drivertest\\serial\\shareint.h(56) : error C2143: syntax error : missing \';\' before \'*\'
E:\\drivertest\\serial\\shareint.h(56) : error C2501: \'KNdisInterrupt\' : missing storage-class or type specifiers
E:\\drivertest\\serial\\shareint.h(56) : error C2501: \'m_Interrupt\' : missing storage-class or type specifiers
E:\\drivertest\\serial\\shareint.h(69) : error C2065: \'KNdisInterrupt\' : undeclared identifier
E:\\drivertest\\serial\\shareint.h(69) : error C2065: \'pIntr\' : undeclared identifier
E:\\drivertest\\serial\\shareint.h(69) : error C2448: \'<Unknown>\' : function-style initializer appears to be a function definition
哪位高手帮忙!
游客

返回顶部