控件是一个三维图像的对话框,自己用opengl绘制的图形可以在网页中显示。但是读入OBJ文件的三维图像能在vc6.0的控件测试容器中显示运行,不能在ie中运行。
点击包含该控件的网页,会一闪而过,然后在vc6.0中运行该控件的程序会报错,“con't open file release\activexMan.ocx”.
点击包含该控件的网页,会一闪而过,然后在vc6.0中运行该控件的程序会报错,“con't open file release\activexMan.ocx”.
调试欢乐多
Linking...
Creating library Release/AtivexMan.lib and object Release/AtivexMan.exp
Registering ActiveX Control...AtivexMan.ocx - 0 error(s), 0 warning(s)
比如下面的信息:
ATL: CPropertyHelper::PutProperty
ATL: CPropertyHelper::PutProperty
ATL: CPropertyHelper::PutProperty
ATL: Invoked failed on DISPID fffffdfd
InitNew or Load on OLE control {177F4CD8-AE06-4299-BCB4-9974E2038454} failed.
>>> Result code: 0x80004005
Warning: CreateDlgControls failed during dialog init.把这个属性注释掉就可以:DISPID fffffdfd