comparing with https://lfischmeistr:***@hg.netbeans.org/core-main searching for changes changeset: 237524:7dd313cd713c tag: tip user: Libor Fischmeistr date: Tue Oct 23 15:31:18 2012 +0200 summary: #219008: Restarting IDE throws error Cannot load "platform/lib/nbexec64.dll diff -r 40651c097011 -r 7dd313cd713c ide/launcher/windows/nblauncher.cpp --- a/ide/launcher/windows/nblauncher.cpp Tue Oct 23 14:20:30 2012 +0200 +++ b/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 { diff -r 40651c097011 -r 7dd313cd713c ide/launcher/windows/netbeans.exe Binary file ide/launcher/windows/netbeans.exe has changed diff -r 40651c097011 -r 7dd313cd713c ide/launcher/windows/netbeans64.exe Binary file ide/launcher/windows/netbeans64.exe has changed