Well, i open a file in my .EXE file. I declare .data? filehandle dd ? then i install a system hook (from a DLL) and i want to USE this "filehandle" to write info to this opened file. At this time it fails ... :( I compile .EXE & .DLL with "/SECTION:.bss,S" and define "filehandle dd?" in both .data? (.EXE & .DLL) section. Whats wrong? thx.
Posted on 2001-05-13 11:42:00 by elmenda
The file handle cannot be shared across processes. You can create an alias handle with DuplicateHandle that can be sent to a target process.
Posted on 2001-05-17 21:47:00 by tank