We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a5d3d4 commit 2b846b7Copy full SHA for 2b846b7
MemoryModule.c
@@ -389,13 +389,6 @@ HMEMORYMODULE MemoryLoadLibrary(const void *data)
389
// get entry point of loaded library
390
if (result->headers->OptionalHeader.AddressOfEntryPoint != 0) {
391
DllEntry = (DllEntryProc) (code + result->headers->OptionalHeader.AddressOfEntryPoint);
392
- if (DllEntry == 0) {
393
-#if DEBUG_OUTPUT
394
- OutputDebugString("Library has no entry point.\n");
395
-#endif
396
- goto error;
397
- }
398
-
399
// notify library about attaching to process
400
successfull = (*DllEntry)((HINSTANCE)code, DLL_PROCESS_ATTACH, 0);
401
if (!successfull) {
0 commit comments