CreateRemoteThread

Hi,

I have developed a test app which injects a dll into another process by CreateRemoteThread. It’s working fine in XP, but in Vista and Win7 CreateRemoteThread is returning error code 5 (Access is denied). I have logged as Admin into the System.

Do I need to write any special code for Vista and WIn7 or it’s permission issue?

Thanks,
Anil

Try to launch your application by “Run as Administrator”