
Easy Q? MFC ActiveX / VB ActiveX control
Hi Marcus,
It depends on the dependencies of your MFC executable. Just to be sure, I'd
create a DEP file for it (just look at any DEP file for the OCX's included
with VB), and place the MFC runtime and anything else it relies upon there.
There are CAB files in the MS cab server (I forget the URL) for the MFC
runtimes, so you can point to those if you want instead of including them on
the package.
--
. . . . . . . . . . . . . . . . . . . . . .
Please post/reply to the
newsgroup(s)
Klaus H. Probst, MVP
http://www.vbbox.com/
http://www.mvps.org/ccrp/
Quote:
> Hi!
> I have a VB project consisting of ActiveX controls.
> For some code I needed to build a MFC ActiveX (MSVC++).
> Then I added the MFC Active X to the VB projects main form and then I used
> the Package wizard to generate a Internet Package of the project.
> But...!
> When I run the installation the *.html/*.cab (generated by the Package
> wizard [Internet Package]) stops when it comes to the MFC ActiveX
> (Stops=just a little bitmap appears in the browser instead of the
ActiveX).
> If I uncheck (exclude it from the installation script) the MFC Active X
when
> I generate the installation Package, everything works!
> (Another thing is that the installation package works on computers that
have
> VB/MSVC studio installed! Is there a dll missing?)
> Is there a work around or solution!
> Please heeeeeeeeeeelp!!
> Regards,
> Marcus