vc添加ocx控件
我的步骤是先注册***.ocx然后打开vc文件—>新建—>工程—>win32 Application—>一个空工程—>完成;
然后开始添加ocx工程—>添加到工程—>conponents and controls—>registered Activex Controls—>找到***.ocx选择insert。
报错信息为:the components and controls gallery can only be used to add activeX control to a projects that are supported by classwizard ,see help topic "adding an activeX control to a project" for more information"
怎么解决啊
[解决办法]
win32 Application这种工程貌似不支持activeX control ,建MFC工程吧
[解决办法]
额,学习了
[解决办法]
学习一下。