控件是一个三维图像的对话框,自己用opengl绘制的图形可以在网页中显示。但是读入OBJ文件的三维图像能在vc6.0的控件测试容器中显示运行,不能在ie中运行。
点击包含该控件的网页,会一闪而过,然后在vc6.0中运行该控件的程序会报错,“con't open file release\activexMan.ocx”.

解决方案 »

  1.   

    用啊activex control pad 无法添加该控件,系统对话框提示内存000000000不能writen
      

  2.   

    activexMan.ocx 是否正确注册上...
      

  3.   

    确认已经注册
    Linking...
       Creating library Release/AtivexMan.lib and object Release/AtivexMan.exp
    Registering ActiveX Control...AtivexMan.ocx - 0 error(s), 0 warning(s)
      

  4.   

    写一个测试程序,测试一下。看有什么出错信息。一般是属性出错
    比如下面的信息:
    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