You are not logged in.
Pages: 1
Hi Arnaud
SOmetimes you use LoadLibrary, sometimes you use SafeLoadLibrary in your code to load DLL's. Is this coincidence or is there a deeper reason for this?
Just wondering.
Hans
Offline
SafeLoadLibrary re-initialize the x86 FPU exception vector.
Most of the time, it is safer to use it, especially if you may call 3rd party runtimes, e.g. the .NET CLR or VC CLR.
It is a no-op otherwise.
I had sometimes unexpected FPU exceptions in the code (e.g. in fast Move() procedure) when using external libraries - this fix the issue.
Offline
Ah.. but why not use SafeLoadLibrary everywhere then? - Just for the sake of simplicity.
Offline
Pages: 1