Delphi_MemoryModule
Delphi_MemoryModule copied to clipboard
Error loading same library more than once using MemoryModuleHook
We can write like this:
for var i := 1 to 10 do
LoadLibrary('test.dll');
In LoadLibrary was hooked with MemoryModuleHook, the above code will cause access violation or unexpected errors.