summaryrefslogtreecommitdiffstats
path: root/make/dynlink-windows-CustomJavaCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/dynlink-windows-CustomJavaCode.java')
-rwxr-xr-xmake/dynlink-windows-CustomJavaCode.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/dynlink-windows-CustomJavaCode.java b/make/dynlink-windows-CustomJavaCode.java
index 986ec81..4101f4c 100755
--- a/make/dynlink-windows-CustomJavaCode.java
+++ b/make/dynlink-windows-CustomJavaCode.java
@@ -1,9 +1,9 @@
public long openLibrary(String libraryName) {
- return LoadLibraryA(libraryName);
+ return LoadLibraryW(libraryName);
}
public long lookupSymbol(long libraryHandle, String symbolName) {
- return GetProcAddress(libraryHandle, symbolName);
+ return GetProcAddressA(libraryHandle, symbolName);
}
public void closeLibrary(long libraryHandle) {