Click here to Skip to main content
11,641,717 members (62,676 online)
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 2: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 DamithSL 233
1 Mika Wendelius 150
2 Sergey Alexandrovich Kryukov 134
3 OriginalGriff 110
4 Afzaal Ahmad Zeeshan 89
0 Mika Wendelius 460
1 OriginalGriff 265
2 DamithSL 258
3 CPallini 169
4 Afzaal Ahmad Zeeshan 149


Advertise | Privacy | Mobile
Web02 | 2.8.150731.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2015
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