Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
I am able to hook a process with createremotethread for the first time but when i want to hook another instance of the same process with createremotethread then it is failing with error number 5 ?
Posted 12-Sep-12 3:36am
Comments
Sandeep Mewara at 12-Sep-12 8:52am
   
It would be good if you share more detail. Related code snippet and full error.
pasztorpisti at 12-Sep-12 9:03am
   
error 5 is "Permission Denied". Your process doesn't have the necessary privileges to mess around with the other process, or your process might have the privileges but they are just turned off.
armagedescu at 12-Sep-12 9:50am
   
You've probably forgotten to request permission for the other instance of the process

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100