Delphi_MemoryModule icon indicating copy to clipboard operation
Delphi_MemoryModule copied to clipboard

Error loading same library more than once using MemoryModuleHook

Open ccy opened this issue 5 years ago • 0 comments

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.

ccy avatar Jul 03 '20 04:07 ccy