--- a/ide/launcher/windows/nblauncher.cpp Tue Oct 23 14:20:30 2012 +0200 +++ a/ide/launcher/windows/nblauncher.cpp Tue Oct 23 15:31:18 2012 +0200 @@ -44,6 +44,10 @@ * Author: Tomas Holy */ +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x05010100 +#endif + #include "nblauncher.h" #include "../../../o.n.bootstrap/launcher/windows/utilsfuncs.h" #include "../../../o.n.bootstrap/launcher/windows/argnames.h" @@ -116,6 +120,7 @@ adjustHeapAndPermGenSize(); addExtraClusters(); string nbexecPath; + SetDllDirectory(baseDir.c_str()); if (dirExists(platformDir.c_str())) { nbexecPath = platformDir; } else {