Click here to Skip to main content
13,089,433 members (59,378 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
Sandeep Mewara 12-Sep-12 8:52am
It would be good if you share more detail. Related code snippet and full error.
pasztorpisti 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2017
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