Call SetDllDirectory() in all app winmain() or app initialization methods.