Issues relating to ActiveX Deployment

  • Thread starter Thread starter ritulranjan
  • Start date Start date
R

ritulranjan

Hi thr,

I have made an MFC ActiveX Control which internally uses some Win32
DLLs and embeds in the webpage (Internet Explorer only). It works fine
on my development PC, however, on a fresh PC the ActiveX doesn't get
registered.

Following tools were used to build the dlls and ocx:
MFC ActiveX: MS VC 2005
Internal DLLs: MS VC 2003

I have manually registered all the dependencies and copied them on to
the fresh system (using "depends" tools of VC. However, when I try to
register the ocx file using "regsvr32" (Microsoft Register Server), it
gives me an error saying that the library cannpt be loaded, there is
osme problem in configuration and I should try re-installing the
application.

Is there any way to club all the dependencies together and deploy on
client machine? I know there is a specific method for deployment
through cab file. However, I am facing problems in building such a cab
file.

Does VC provide a project type for deployment of ActiveX control? How
to use it?

regards,
Ritul.
 
Back
Top