Delaying loading of DLLs 
Author Message
 Delaying loading of DLLs

Microsoft advises programmers to delay the loading of DLLs at maximum to
increase the speed of loading of heavy Windows applications. And at least it
seems to work with Word 97!

How is this marvel-of-programming trick accomplished?
I'm using VC++6.0

Laurentino Martins



Sun, 13 May 2001 03:00:00 GMT  
 Delaying loading of DLLs
Look at the /DELAYLOAD linker option.

The last issue of MSJ also has very good articles about this.

Patrick Philippot (MainSoft sarl)

http://ourworld.compuserve.com/homepages/mainsoft
tel/fax: +33 (0)1 69 40 94 85



Sun, 13 May 2001 03:00:00 GMT  
 Delaying loading of DLLs

Quote:
>Microsoft advises programmers to delay the loading of DLLs at maximum to
>increase the speed of loading of heavy Windows applications. And at least it
>seems to work with Word 97!

>How is this marvel-of-programming trick accomplished?
>I'm using VC++6.0

Laurentino,

Have a look at the new delayload feature in VC6.

The traditional method is that you use LoadLibrary & GetProcAddress
and call the function that way. The delayload feature hides this from
you.

Dave
----
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Sun, 13 May 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Delay Loading oleacc.dll

2. delay load of DLLs

3. Delaying loading of DLLs

4. Delay Load DLL doesn't work for C++ DLL

5. problem with delay loading DLLs

6. problem with delay loading DLLs

7. problem with delay loading DLLs

8. Long delays loading files

9. Delay Load Imports

10. delay load and warning LNK4199

11. reduce delay of delete... (deleting longer than loading)

12. loading an MFC DLL that was originally an extension dll from a non MFC dLL

 

 
Powered by phpBB® Forum Software