
ActiveX -Control in MFC-App
Looks like you have not installed the control you are using in your
application on the other machines. So, Read the redist.wri or redist.htm (i
forget which) about the set you need to redistribute with an MFC app to get
an idea of what you need to install on target machines. Along with that, if
you are using any controls, copy them to the target machine and register
them (regsvr32 <path of the ocx>\<name of ocx>.ocx ) .
After this, your program should work..
--
Girish Bharadwaj [VC++/MVP]
Quote:
>Hi,
>I have a problem with an ActiveX-Control embeded in my
>MFC-App.
>On the developing machine the program runs just fine. The same
>is true for any machine wihch has Visual C++ installed but
>not for machines which don't.
>It is the CreateControl() call which returns FALSE on the later
>and TRUE on the former machines.
>So I think the I have to copy some .ocx or .dll files to the target
>machine and maybe do some registry editing...
>I hope someone can help!
>Matthias