Create a new project of type "MFC ActiveX Wizard".
Take care your OCX will depend on files MFC42.dll(usually 900kb) and MSVCRT.dll(usually 250kb). I hope you don't wanna put this control on an Internet page because it is inefficient(you see the size of dependent libraries)
I don't think it is possible to use MFC classes from inside ATL without making the DLL dependant of MFC42.dll
Hope this will help,s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.