Skip to content

Commit

Permalink
changed LoadLibraryExW on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo committed Apr 11, 2024
1 parent 2c94148 commit 2260007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ LM_EnumSymbols(const lm_module_t *module,
printf("HMODULE NOT FOUND, ATTEMPING TO LOAD LIBRARY\n");
fflush(stdout);
/* Load library purely for getting resources, and not executing */
hmod = LoadLibraryExW(wpath, NULL, LOAD_LIBRARY_AS_IMAGE_RESOURCE);
hmod = LoadLibraryExW(wpath, NULL, DONT_RESOLVE_DLL_REFERENCES);
printf("LIBRARY LOADED: %p\n", (void *)hmod);
fflush(stdout);
if (!hmod)
Expand Down

0 comments on commit 2260007

Please sign in to comment.