summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-12-14 21:59:53 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-12-14 21:59:53 (GMT)
commit01560c9e48043b06e1609b1fe598950558cb3223 (patch)
treee49af12a1c38fbcbabb125f121f9086a64404861
parent15b9ba46c02db1c8cd343c4e277cac8e61002911 (diff)
downloadhdf5-01560c9e48043b06e1609b1fe598950558cb3223.zip
hdf5-01560c9e48043b06e1609b1fe598950558cb3223.tar.gz
hdf5-01560c9e48043b06e1609b1fe598950558cb3223.tar.bz2
Load plugins into vitual process space
-rw-r--r--src/H5PL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index 1f7bb2a..de45b0f 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -59,7 +59,7 @@
#define H5PL_HANDLE HINSTANCE
/* Get a handle to a plugin library. Windows: TEXT macro handles Unicode strings */
-#define H5PL_OPEN_DLIB(S) LoadLibraryExA(S, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)
+#define H5PL_OPEN_DLIB(S) LoadLibraryExA(S, NULL, LOAD_WITH_ALTERED_SEARCH_PATH | LOAD_LIBRARY_AS_IMAGE_RESOURCE)
/* Get the address of a symbol in dynamic library */
#define H5PL_GET_LIB_FUNC(H,N) GetProcAddress(H,N)