Click to See Complete Forum and Search --> : Problem porting my ActiveX Control to other PC's?????


April 22nd, 1999, 06:59 AM
Hey All,

I have this really neat ActiveX Control I wrote in VC++5.0 using the MFC ActiveX Control wizard. It interfaces great with a VB front end. I am
relitivly new to MFC so be gentle, but I can't get the Contol to register on machines other than mine. I think that the problem is that the other machines do not have the right DLL's. My thought
was to make the Contol staticlly link to MFC but when I did I got over a hundred errors having to do with COleControl, COleControlModule and COlePropertypage.

What can be done?
My Boss would really like it to Staticlly Link, can it be done?
Will I have to write a setup program to install the right DLL's?
If so can you point me to a good example?

Help, and Thanks,
Atticus

R.K.M.
April 22nd, 1999, 07:05 AM
Were they LNK2001 "unresolved" errors, or were they "multiply defined" errors. in case 1 you need to add the correct libraries to the link, in the case of 2 you have to modify the link command line to ignore default libraries.

Good Luck...RKM

April 22nd, 1999, 07:13 AM
R.K.M.

They were LNK2001 errors, is there an easy way to tell what libraries need to be included, and would I include them in the Project settings window on VC++??

Thanks for the reply,
Atticus