The ActiveX Control embeded in Web
-
The Control has been testified by "ActiveX Test Container" which runs very well,then I use Microsoft ActiveX Control Pad to plug in this control. IE code like this: USBClientActiveXEx //inf like this [Add.Code] yyy.ocx=yyy.ocx yyy.inf=yyy.inf [yyy.ocx] file=thiscab clsid={622FA9EC-C889-4138-A2D2-A6CCB092C914} RegisterServer=yes FileVersion=1,0,0,1 [yyy.inf] file=thiscab of course,the cab file includes yyy.ocx and yyy.inf files.But when I place the page in Apachy,remote user can't register the control,what's the matter?
Later buggers harm more.
-
The Control has been testified by "ActiveX Test Container" which runs very well,then I use Microsoft ActiveX Control Pad to plug in this control. IE code like this: USBClientActiveXEx //inf like this [Add.Code] yyy.ocx=yyy.ocx yyy.inf=yyy.inf [yyy.ocx] file=thiscab clsid={622FA9EC-C889-4138-A2D2-A6CCB092C914} RegisterServer=yes FileVersion=1,0,0,1 [yyy.inf] file=thiscab of course,the cab file includes yyy.ocx and yyy.inf files.But when I place the page in Apachy,remote user can't register the control,what's the matter?
Later buggers harm more.
Your codes look OK. I think you need check the following things: (1) File Dependencies - MFC is shared link or static link - Any new versions of libraries required - Require thirty-party libraries (2) Make sure the class ID "622FA9EC-C889-4138-A2D2-A6CCB092C914" is correct UUID for your control. (3) Your OCX module is signed? marked as scripting safe? (4) Web browser setting of the remote user is adjusted to load OCX? From my experiences, most of time such case is due to (1).
-
Your codes look OK. I think you need check the following things: (1) File Dependencies - MFC is shared link or static link - Any new versions of libraries required - Require thirty-party libraries (2) Make sure the class ID "622FA9EC-C889-4138-A2D2-A6CCB092C914" is correct UUID for your control. (3) Your OCX module is signed? marked as scripting safe? (4) Web browser setting of the remote user is adjusted to load OCX? From my experiences, most of time such case is due to (1).