Under Windows Me, InjectLibrary causes an error like this
This happens not only with kernel32, but apparently with all runningKernel32 has caused an error in unknown
Kernel32 will now close.
If you continue to experience problem
try restarting your computer
process. After that I've to do a hardware reboot.
The code is like this
Code: Select all
InjectLibrary(fProcess.Handle.Handle, 'xxx.dll')
is the culprit here, i also tried replacing xxx.dll with HookLoadLibrary.dll from demos, but the error persists.
Things seems to work great with 2000
Any clues?
PS: The 2000 and Me is on different machine.