Re: MFC extension dll initialization
- From: "Ajay Kalra" <ajaykalra@xxxxxxxxx>
- Date: Thu, 22 Feb 2007 09:36:04 -0500
You dont have to do any intialization unless you need to. AdvancedGUI.DLL
will load the dlls it depends upon when its loaded. You should setup your
dynlinklibrary in all dlls regardless of how they are loaded. I must be
missing something but why is this an issue? Is this causing any problem?
--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx
"Palo Misik" <PaloMisik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:332A046F-2CEC-419F-B53E-BE8E1619CB59@xxxxxxxxxxxxxxxx
I have MFC application, which uses several MFC extension dlls. Forsimplicity
suppose their names are math.dll gdiext.dll and advancedGUI.dll.(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html
All this dlls are used in application. (MFC in shared dll and dlls are
shared dll dynamically linked).
But between dlls are dependencies. advancedGUI.dll uses gdiext.dll and
math.dll,
Guiext.dll uses math.dll.
Do I have to initialize math.dll before first call from advancedGUI.dll is
done and Guiext.dll.
By initialization I mean this
extern "C" extern void WINAPI InitXxxDLL()
{
new CDynLinkLibrary(extensionDLL);
}
I have read this
/_MFCNOTES_TN033.asp) before but I'm not still sure about dll
initialization.
Do I have to do an initialization within dll at all?
Thanks
.
- Follow-Ups:
- Re: MFC extension dll initialization
- From: Palo Misik
- Re: MFC extension dll initialization
- Prev by Date: Re: Actual differences between Extension and Regular Dll
- Next by Date: Re: How to add new toolbar to Internet Explorer?
- Previous by thread: How to add new toolbar to Internet Explorer?
- Next by thread: Re: MFC extension dll initialization
- Index(es):
Relevant Pages
|