DLL中加载MSCOMM32.OCV的问题

lengfeng281 2006-04-13 01:15:49
我在VC++中new一个Win32 Dynamic-Link Library工程,怎么想加入串口通信,添加的时候系统提示
The Components and Controls Gallery can only be used to add ActiveX controls to projects that are supported by ClassWizard. See help topic "Adding an ActiveX Control to a Project"for more information.
...全文
88 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
Johnny_de 2006-04-14
  • 打赏
  • 举报
回复
在wizard里没选support ActiveX controls
dingrj 2006-04-14
  • 打赏
  • 举报
回复
楼上正解
逸学堂 2006-04-14
  • 打赏
  • 举报
回复
The Components and Controls Gallery can only be used to add ActiveX controls to projects that are supported by ClassWizard. See help topic "Adding an ActiveX Control to a Project"for more information.
~~~~~~~~~~~~
lz建立工程时选择支持ActiveX controls。
lengfeng281 2006-04-13
  • 打赏
  • 举报
回复
Win32 Dynamic-Link Library没有选择支持ActiveX controls提示啊
直接建立的
fdimim 2006-04-13
  • 打赏
  • 举报
回复
不过看提示,可能原因是你当初建工程的时候没有选择支持ActiveX controls 。重建个吧
fdimim 2006-04-13
  • 打赏
  • 举报
回复
up
没用过串口控件,都用api或下载个CSerial
lengfeng281 2006-04-13
  • 打赏
  • 举报
回复
不好意思,是添加MSCOM32.OCX写错了
各位有没有遇到这样的情况

64,648

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧