[fpc-devel] Manual reload of a DLL snapshot (with relocations) causes multiple AV

José Mejuto joshyfun at gmail.com
Fri Jan 6 16:57:58 CET 2012


Hello FPC,

Friday, January 6, 2012, 3:07:31 PM, you wrote:

GP> The task I'm working on is somewhat unorthodox, but I'd like to get some comments anyway.
[...]
GP> I'm writing "semi-stealth" DLL which is one loaded by the
GP> process (and visible by others) while not residing on disk as a
GP> file. This is done by the following method:

Why you do not load the DLL from memory ? There is code to load and
relocate it as it is being done by the Windows OS.

-- 
Best regards,
 José




More information about the fpc-devel mailing list