From 01560c9e48043b06e1609b1fe598950558cb3223 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 14 Dec 2016 15:59:53 -0600 Subject: Load plugins into vitual process space --- src/H5PL.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12