hotspot/src/os/windows/vm/decoder_windows.cpp
changeset 10246 adee0cf4c981
parent 7447 32c42d627f41
child 11483 4d3f4bca0019
--- a/hotspot/src/os/windows/vm/decoder_windows.cpp	Sat Jul 23 10:42:20 2011 -0400
+++ b/hotspot/src/os/windows/vm/decoder_windows.cpp	Fri Apr 15 09:34:43 2011 -0400
@@ -24,6 +24,7 @@
 
 #include "precompiled.hpp"
 #include "prims/jvm.h"
+#include "runtime/os.hpp"
 #include "utilities/decoder.hpp"
 
 HMODULE                   Decoder::_dbghelp_handle = NULL;
@@ -35,7 +36,7 @@
   if (!_initialized) {
     _initialized = true;
 
-    HMODULE handle = ::LoadLibrary("dbghelp.dll");
+    HINSTANCE handle = os::win32::load_Windows_dll("dbghelp.dll", NULL, 0);
     if (!handle) {
       _decoder_status = helper_not_found;
         return;