Using visual-studio: Load-time dynamic linking (import library) search order on newest questions tagged visual-studio – Stack Overflow

If I use a import library to implement load-time dynamic linking with a Windows system dll, which directory search order will be used?

Does it end up in the equivalent to LoadLibrary("kernel.dll")? Will it use a fully qualified path (i.e. LoadLibrary("C:\\windows\\system32\\kernel.dll")?

Is it vulnerable to a DLL preloading attack?

See Answers


source: http://stackoverflow.com/questions/11224123/load-time-dynamic-linking-import-library-search-order
Using visual-studio: using-visual-studio



online applications demo