Click here to Skip to main content
15,927,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with WIN95a and WIN98 ActiveX Registration Pin
Derek Waters27-Aug-01 16:19
Derek Waters27-Aug-01 16:19 
GeneralHelp with ownerdrawn CListBox class Pin
Dave Glick27-Aug-01 5:31
Dave Glick27-Aug-01 5:31 
GeneralRe: Help with ownerdrawn CListBox class Pin
Tomasz Sowinski27-Aug-01 10:08
Tomasz Sowinski27-Aug-01 10:08 
GeneralRe: Help with ownerdrawn CListBox class Pin
Dave Glick28-Aug-01 2:44
Dave Glick28-Aug-01 2:44 
QuestionDelayload won't work for DLL itself? Pin
Kurotora27-Aug-01 5:12
Kurotora27-Aug-01 5:12 
AnswerRe: Delayload won't work for DLL itself? Pin
Masaaki Onishi27-Aug-01 7:04
Masaaki Onishi27-Aug-01 7:04 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora27-Aug-01 7:39
Kurotora27-Aug-01 7:39 
GeneralRe: Now, I understand your questions. Pin
Masaaki Onishi27-Aug-01 14:01
Masaaki Onishi27-Aug-01 14:01 
Hello, the codegurus around the world.;)

Eventually, I understood your question.Roll eyes | :rolleyes:
I didn't make DLL with loading DLL with delayload option. Dead | X|

However, I got some reference about delayload in MSDN help.

Constraints of Delay Loading DLLs
There are constraints regarding the delay loading of imports. 

Imports of data cannot be supported. A workaround is to explicitly handle the data import yourself using LoadLibrary (or GetModuleHandle after you know the delay-load helper has loaded the DLL) and GetProcAddress.

Delay loading Kernel32.dll not supported. This DLL is necessary for the delay-load helper routines to perform the delay loading.

Binding of entry points that are forwarded is not supported.

Delay loading of a DLL may not result in the same behavior of the process if there are per-process initializations that occur in the entry point of the delay-loaded DLL. Other cases include static TLS (thread local storage, declared using __declspec(thread) which is not handled when the DLL is loaded via LoadLibrary. Dynamic TLS, using TlsAlloc,TlsFree,TlsGetValue,TlsSetValue is still available for use in either static or delay-loaded DLLs.

Static (global) function pointers should be reinitialized to imported functions after the first call to the function. This is because the first use of the function pointer will point to the thunk. 






Have a nice day!

-Masaaki Onishi-


AnswerRe: Delayload won't work for DLL itself? Pin
Tomasz Sowinski27-Aug-01 12:00
Tomasz Sowinski27-Aug-01 12:00 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora28-Aug-01 5:07
Kurotora28-Aug-01 5:07 
GeneralRe: Delayload won't work for DLL itself? Pin
Tomasz Sowinski28-Aug-01 5:19
Tomasz Sowinski28-Aug-01 5:19 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora28-Aug-01 6:01
Kurotora28-Aug-01 6:01 
GeneralRe: Delayload won't work for DLL itself? Pin
Tomasz Sowinski28-Aug-01 7:11
Tomasz Sowinski28-Aug-01 7:11 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora29-Aug-01 4:28
Kurotora29-Aug-01 4:28 
GeneralCListView AND CListCtrl Pin
27-Aug-01 5:03
suss27-Aug-01 5:03 
GeneralRe: CListView AND CListCtrl Pin
Tomasz Sowinski27-Aug-01 10:02
Tomasz Sowinski27-Aug-01 10:02 
GeneralTree Control & Edit Label Pin
Derek Price27-Aug-01 4:53
Derek Price27-Aug-01 4:53 
GeneralRe: Tree Control & Edit Label Pin
Tomasz Sowinski27-Aug-01 10:24
Tomasz Sowinski27-Aug-01 10:24 
GeneralRe: Tree Control & Edit Label Pin
Derek Price27-Aug-01 10:30
Derek Price27-Aug-01 10:30 
GeneralRe: Tree Control & Edit Label Pin
Tomasz Sowinski27-Aug-01 10:42
Tomasz Sowinski27-Aug-01 10:42 
GeneralRe: Tree Control & Edit Label Pin
Derek Price27-Aug-01 10:54
Derek Price27-Aug-01 10:54 
QuestionWhat is meaning is the "X" in "AFX"? Pin
Maer72727-Aug-01 3:21
Maer72727-Aug-01 3:21 
AnswerRe: What is meaning is the Pin
Steen Krogsgaard27-Aug-01 4:21
Steen Krogsgaard27-Aug-01 4:21 
GeneralRe: What is meaning is the Pin
Maer72727-Aug-01 4:46
Maer72727-Aug-01 4:46 
GeneralRe: What is meaning is the Pin
Steen Krogsgaard27-Aug-01 4:51
Steen Krogsgaard27-Aug-01 4:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.