Is that a plugin DLL or a general DLL? PRAGMA_PLUGIN works for plugins only. General DLLs use the standard Windows DLL path convention.