1.1 --- a/src/os/windows/vm/decoder_windows.cpp Sat Jul 23 10:42:20 2011 -0400 1.2 +++ b/src/os/windows/vm/decoder_windows.cpp Fri Apr 15 09:34:43 2011 -0400 1.3 @@ -24,6 +24,7 @@ 1.4 1.5 #include "precompiled.hpp" 1.6 #include "prims/jvm.h" 1.7 +#include "runtime/os.hpp" 1.8 #include "utilities/decoder.hpp" 1.9 1.10 HMODULE Decoder::_dbghelp_handle = NULL; 1.11 @@ -35,7 +36,7 @@ 1.12 if (!_initialized) { 1.13 _initialized = true; 1.14 1.15 - HMODULE handle = ::LoadLibrary("dbghelp.dll"); 1.16 + HINSTANCE handle = os::win32::load_Windows_dll("dbghelp.dll", NULL, 0); 1.17 if (!handle) { 1.18 _decoder_status = helper_not_found; 1.19 return;