Hi Paul,

Paul Vriens wrote:

+
+    dll = LoadLibrary(dllname);
+    if (!dll) {

I think it would be better to call LoadLibraryEx(dllname, 
LOAD_LIBRARY_AS_DATA_FILE) here to avoid executing DllMain code.

Jacek




Reply via email to