- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I am trying to use the delay option of the compiler to load the dlls at the moment when I'm going to use them, because I have a lot of dlls so if I load want perhaps I don't want to load all the temporally dependecies. For example, if I have,
Library1.dll that depends on Library2.dll, and when the application load Library1.dll not always Library2.dll is used. If I use the Delay load Dlls Library2.dll will be loaded only when something of this dll is going to be used, isn't it?
So I add the Delayimp.lib in the additional dependencies for the links and also I add the dll (Library2.dll) in the Delay loaded Dlls ([/DELAYLOAD Library2.dll).
Even with that, When I load Library1.dll, Libray2.dll is load, Am I using this in wrong way? It's something missing?
Thanks in advance,
Best regards
I am trying to use the delay option of the compiler to load the dlls at the moment when I'm going to use them, because I have a lot of dlls so if I load want perhaps I don't want to load all the temporally dependecies. For example, if I have,
Library1.dll that depends on Library2.dll, and when the application load Library1.dll not always Library2.dll is used. If I use the Delay load Dlls Library2.dll will be loaded only when something of this dll is going to be used, isn't it?
So I add the Delayimp.lib in the additional dependencies for the links and also I add the dll (Library2.dll) in the Delay loaded Dlls ([/DELAYLOAD Library2.dll).
Even with that, When I load Library1.dll, Libray2.dll is load, Am I using this in wrong way? It's something missing?
Thanks in advance,
Best regards
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This just in:
http://www.codeproject.com/dll/Delay_Loading_Dll.asp
This is all well and good for Dlls but how does one unload their client? Task Manager?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have been cheking the problem,
If all the dll that I am linking are writed in Fortran, it is posible to use delay dll, but in the moment that I use any dll writed in VC++, this it is not posible, but I don't know if it is because I have to use any specific options in the VC++ project.
Thanks
Best regards

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page