Extension dll implicitly linking with another extension dll
- From: "Mike" <mikec@xxxxxxxxxxxx>
- Date: 17 Apr 2006 17:57:50 -0700
I have an extension dll that implicitly links with a second extension
dll. All seems to work fine, however, in the second dll if I call
AfxGetApp() it returns NULL. I'm trying to determine why the resource
chain isn't being set in the second dll.
An app links with the first dll, and the first dll links with the
second dll. If I call AfxGetApp() in the first dll it returns me the
correct info, but if then the very next line (in the first dll) I call
a function insidde the second dll, which then calls AfxGetApp(), it
simply returns NULL.
I have even tried putting AFX_MANAGE_STATE(AfxGetModuleState()); as the
first line in my functions but that doesn't do anything.
Any ideas as to why the resource chain isn't being set when the first
extension dll implicitly loads the second dll???? (the dllmain
discusses an issue with a regular dll trying to implicitly link with an
extension dll, but doesn't say anything about an extension dll trying
to load another extensiondll).
Any ideas appreciated,
Mike
.
- Follow-Ups:
- Re: Extension dll implicitly linking with another extension dll
- From: Ajay Kalra
- Re: Extension dll implicitly linking with another extension dll
- Prev by Date: Re: overide CWinApp::ExitInstance
- Next by Date: Timing a function....
- Previous by thread: CTabCtrl <WICKED0600.exe> problem
- Next by thread: Re: Extension dll implicitly linking with another extension dll
- Index(es):
Relevant Pages
|