c++ - CreateRemoteThread access denied -


i trying create remote thread on "notepad.exe" process using createremotethread() getting error code 5 "access-denied". tried enabling debug permissions due intergrity level being "high" did not trick. know function works since tested on simple console app , created successfully. there seems sort of issue aside if not debug privileges im missing.

i apologize not posting code, dont have access it.

this happens when there architecture mismatch between application (32 bits) , target application (64 bits) on 64 bits os. solution compile program in 64 bits mode (but of course won't able access 32 bits processes more, it's either/or).

this may or may not situation (hard tell little information) it's worth mentioning anyway, hence answer instead of mere comment.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -