diff -r 918aafed42d6 basic/source/runtime/wnt-mingw.s --- a/basic/source/runtime/wnt-mingw.s Mon Jun 28 17:40:31 2010 +0200 +++ b/basic/source/runtime/wnt-mingw.s Tue Jun 29 08:57:45 2010 +0200 @@ -44,8 +44,8 @@ shr ecx, 2 rep movsd $1: call DWORD PTR [ebp+8] - ; for extra safety, do not trust esp after call (in case the Basic Declare - ; signature is wrong): + # for extra safety, do not trust esp after call (in case the Basic Declare + # signature is wrong): mov edi, [ebp-8] mov esi, [ebp-4] mov esp, ebp diff -r 3bcbbb7203bb basic/source/runtime/dllmgr.cxx --- a/basic/source/runtime/dllmgr.cxx Tue Jun 29 16:39:39 2010 +0200 +++ b/basic/source/runtime/dllmgr.cxx Wed Jun 30 09:12:10 2010 +0200 @@ -684,7 +684,7 @@ Dlls::iterator i(dlls.find(name)); if (i == dlls.end()) { i = dlls.insert(Dlls::value_type(name, new Dll)).first; - HMODULE h = LoadLibraryW(name); + HMODULE h = LoadLibraryW(reinterpret_cast< LPCWSTR >(name.getStr())); if (h == 0) { dlls.erase(i); return 0;