Adding ATL Support to MFC DLL
-
It involves adding a global
_Module
variable and initializing it properly. If you make a dummy DLL project with the AppWizard, and enable MFC and ATL support, you can see how the ATL part is initialized. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ -
a_kiani wrote:
I want to add ATL support to MFC DLL,
Could you tell me which ATL class you intended to use in MFC dll.!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
a_kiani wrote:
I want to add ATL support to MFC DLL,
Could you tell me which ATL class you intended to use in MFC dll.!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
It involves adding a global
_Module
variable and initializing it properly. If you make a dummy DLL project with the AppWizard, and enable MFC and ATL support, you can see how the ATL part is initialized. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQHi, Thanks for your reply. I meant adding ATL support to an MFC extension DLL. You know that in VC++ 6.0 (and also later) you can not add ATL support to MFC extension DLLs but you can add this support to regular DLLs. Knowing this, can I add ATL support to MFC extension DLLs in the way you mentioned.