Load order of implicitly linked DLLs
-
I did know the answer once upon a time but can't for the life of me remember. How can I ensure that implicitly linked (at compile time) are loaded in a particular order. I have to have time to read the registry in the App's InitInstance before one of the DLLs is loaded. Happy programming!!
-
I did know the answer once upon a time but can't for the life of me remember. How can I ensure that implicitly linked (at compile time) are loaded in a particular order. I have to have time to read the registry in the App's InitInstance before one of the DLLs is loaded. Happy programming!!
I doubt that order is going to help you here. All of the implicitly linked DLL's will be loaded before the call to your App's InitInstance takes place. If your program requires to read data from the registry before a DLL is loaded, then you will have to Load/Free the DLL in your code. Chris Meech "what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002. Oh and for those that ask programming questions in the lounge. Seek the truth here[^].
-
I did know the answer once upon a time but can't for the life of me remember. How can I ensure that implicitly linked (at compile time) are loaded in a particular order. I have to have time to read the registry in the App's InitInstance before one of the DLLs is loaded. Happy programming!!
The DELAYLOAD linker option, perhaps? -------- There are 10 types of people in this world. Those who know binary and those who don't.