mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-21 14:16:03 -04:00
- removed parameter "size" from "MemoryLoadLibrary" as it wasn't used
- updated import table loading code, now also works with Delphi .bpl files - updated section copying code for uninitialized sections
This commit is contained in:
@@ -44,7 +44,7 @@ void LoadFromMemory(void)
|
||||
fread(data, 1, size, fp);
|
||||
fclose(fp);
|
||||
|
||||
module = MemoryLoadLibrary(data, size);
|
||||
module = MemoryLoadLibrary(data);
|
||||
if (module == NULL)
|
||||
{
|
||||
printf("Can't load library from memory.\n");
|
||||
|
||||
Reference in New Issue
Block a user