We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c01e010 commit d9a3b23Copy full SHA for d9a3b23
MemoryModule.c
@@ -247,7 +247,7 @@ BuildImportTable(PMEMORYMODULE module)
247
for (; !IsBadReadPtr(importDesc, sizeof(IMAGE_IMPORT_DESCRIPTOR)) && importDesc->Name; importDesc++) {
248
POINTER_TYPE *thunkRef;
249
FARPROC *funcRef;
250
- HMODULE handle = LoadLibrary((LPCSTR) (codeBase + importDesc->Name));
+ HMODULE handle = LoadLibraryA((LPCSTR) (codeBase + importDesc->Name));
251
if (handle == NULL) {
252
#if DEBUG_OUTPUT
253
OutputLastError("Can't load library");
0 commit comments