How to call a function when dll is statically loaded?
-
Hi, I have a third party dll which actually is corruping fpcw register.Due to this my application crashes upon being launched. I also have the code to fix, this is just a call to _controlfp() function.And I want to call it immediately after the third party dll is loaded.I want to put my fix in any of the dlls which get loaded after this one.Where can I call this code as all of these dlls are loaded statically? Any suggestions would be helpful. Thanks Satya
Today is a gift, that's why it is called the present.
-
Hi, I have a third party dll which actually is corruping fpcw register.Due to this my application crashes upon being launched. I also have the code to fix, this is just a call to _controlfp() function.And I want to call it immediately after the third party dll is loaded.I want to put my fix in any of the dlls which get loaded after this one.Where can I call this code as all of these dlls are loaded statically? Any suggestions would be helpful. Thanks Satya
Today is a gift, that's why it is called the present.
Call it in the entry point of your program (main or Winmain). Statically linked DLLs are already loaded by the time the application entry point is called.
«_Superman_»
I love work. It gives me something to do between weekends.