Click here to Skip to main content
12,446,146 members (22,730 online)

C / C++ / MFC

 
GeneralRe: CString & Edit Control Pin
Chris Losinger1-Aug-04 9:09
memberChris Losinger1-Aug-04 9:09 
GeneralDialog Pin
S.DARWIN PAUL RAJ1-Aug-04 7:35
memberS.DARWIN PAUL RAJ1-Aug-04 7:35 
GeneralRe: Dialog Pin
S.DARWIN PAUL RAJ1-Aug-04 18:55
memberS.DARWIN PAUL RAJ1-Aug-04 18:55 
GeneralRe: Dialog Pin
DavidCrow2-Aug-04 4:10
memberDavidCrow2-Aug-04 4:10 
GeneralSubclassing SysListView32 in activex control problem Pin
iluha1-Aug-04 7:20
memberiluha1-Aug-04 7:20 
GeneralLocking DLL Pin
DavidR_r1-Aug-04 5:42
memberDavidR_r1-Aug-04 5:42 
GeneralRe: Locking DLL Pin
Ravi Bhavnani1-Aug-04 5:59
memberRavi Bhavnani1-Aug-04 5:59 
GeneralRe: Locking DLL Pin
DavidCrow2-Aug-04 4:12
memberDavidCrow2-Aug-04 4:12 
GeneralRe: Locking DLL Pin
DavidCrow2-Aug-04 4:14
memberDavidCrow2-Aug-04 4:14 
GeneralRe: Locking DLL Pin
DavidR_r2-Aug-04 6:32
memberDavidR_r2-Aug-04 6:32 
GeneralBypass Firewall Pin
amahmoud811-Aug-04 4:53
memberamahmoud811-Aug-04 4:53 
GeneralRe: Bypass Firewall Pin
Michael Dunn1-Aug-04 5:32
sitebuilderMichael Dunn1-Aug-04 5:32 
GeneralRe: Bypass Firewall Pin
DavidCrow2-Aug-04 4:17
memberDavidCrow2-Aug-04 4:17 
GeneralSolution Needed Please Pin
=[ Abin ]=1-Aug-04 4:46
member=[ Abin ]=1-Aug-04 4:46 
I'm currently on a project which needs to exam memory contents of an other process, basically, it searchs for certain pattern in the target process's page memorys, if pattern found then do some further examination, else keeps searching for same pattern.

I did it by this way:

First, I use ::VirtualQueryEx to obtain all pages of the target process and store those page information(base address and page size) in an array. This step completes in no time.

Second, I use ::ReadProcessMemory to read the memory from each page(bytes by bytes) and compare the bytes with my predefined pattern, which are an array of bytes, using memcmp.

I will finally find the memory address that I want for sure, but the problem is that it's slow, very slow. The target process has over 500 pages and total size of which are over 70MB, it takes like 50 seconds to finish the searching, and that makes my application completely useless.

Now since you guys are all gurus out here, I think there must be something to do to shorten the search time, please help and thanks in advance.

GeneralRe: Solution Needed Please Pin
wb1-Aug-04 12:06
memberwb1-Aug-04 12:06 
GeneralRe: Solution Needed Please Pin
DavidCrow2-Aug-04 4:29
memberDavidCrow2-Aug-04 4:29 
GeneralPrecompiled headers Pin
dNimrod#X1-Aug-04 1:28
memberdNimrod#X1-Aug-04 1:28 
GeneralRe: Precompiled headers Pin
Ivan Cachicatari1-Aug-04 4:50
memberIvan Cachicatari1-Aug-04 4:50 
GeneralRe: Precompiled headers Pin
Ravi Bhavnani1-Aug-04 4:54
memberRavi Bhavnani1-Aug-04 4:54 
GeneralRe: Precompiled headers Pin
Michael Dunn1-Aug-04 5:34
sitebuilderMichael Dunn1-Aug-04 5:34 
GeneralA static library && sub-projects Pin
dNimrod#X1-Aug-04 1:26
memberdNimrod#X1-Aug-04 1:26 
GeneralRe: A static library && sub-projects Pin
Ravi Bhavnani1-Aug-04 5:06
memberRavi Bhavnani1-Aug-04 5:06 
GeneralRe: A static library && sub-projects Pin
dNimrod#X1-Aug-04 5:36
memberdNimrod#X1-Aug-04 5:36 
GeneralRe: A static library && sub-projects Pin
Ravi Bhavnani1-Aug-04 5:56
memberRavi Bhavnani1-Aug-04 5:56 
GeneralRe: A static library && sub-projects Pin
dNimrod#X1-Aug-04 6:04
memberdNimrod#X1-Aug-04 6:04 
GeneralRe: A static library && sub-projects Pin
Ravi Bhavnani1-Aug-04 6:09
memberRavi Bhavnani1-Aug-04 6:09 
GeneralRe: A static library && sub-projects Pin
dNimrod#X1-Aug-04 6:38
memberdNimrod#X1-Aug-04 6:38 
GeneralRe: A static library && sub-projects Pin
Ravi Bhavnani1-Aug-04 6:43
memberRavi Bhavnani1-Aug-04 6:43 
GeneralRe: A static library && sub-projects Pin
Chris Losinger1-Aug-04 16:32
memberChris Losinger1-Aug-04 16:32 
GeneralProcess Categories Pin
DiffBytes1-Aug-04 0:11
memberDiffBytes1-Aug-04 0:11 
Generalado Pin
Asha Rams31-Jul-04 22:19
memberAsha Rams31-Jul-04 22:19 
GeneralRe: ado Pin
Ivan Cachicatari1-Aug-04 4:58
memberIvan Cachicatari1-Aug-04 4:58 
GeneralEnglish version Pin
Ravi Bhavnani1-Aug-04 5:16
memberRavi Bhavnani1-Aug-04 5:16 
Questionhow to manipulate clipborard Pin
yingkou31-Jul-04 19:39
memberyingkou31-Jul-04 19:39 
GeneralAuto Scroll Pin
arunforce31-Jul-04 17:38
memberarunforce31-Jul-04 17:38 
GeneralRe: Auto Scroll Pin
Ravi Bhavnani31-Jul-04 17:49
memberRavi Bhavnani31-Jul-04 17:49 
GeneralHelp me :( Pin
arunforce31-Jul-04 17:52
memberarunforce31-Jul-04 17:52 
GeneralRe: Auto Scroll Pin
Michael Dunn31-Jul-04 20:46
sitebuilderMichael Dunn31-Jul-04 20:46 
GeneralDidn't work... Pin
arunforce1-Aug-04 7:12
memberarunforce1-Aug-04 7:12 
GeneralRe: Didn't work... Pin
bikram singh1-Aug-04 8:30
memberbikram singh1-Aug-04 8:30 
GeneralHelp me:( Pin
arunforce1-Aug-04 8:37
memberarunforce1-Aug-04 8:37 
GeneralArtificial Keyboard for Games Pin
selethd31-Jul-04 16:20
memberselethd31-Jul-04 16:20 
GeneralSendInput(), keybd_event() Pin
bikram singh31-Jul-04 16:24
memberbikram singh31-Jul-04 16:24 
GeneralRe: SendInput(), keybd_event() Pin
selethd1-Aug-04 16:41
memberselethd1-Aug-04 16:41 
Generalsend a keypress to the games im wanting to work Pin
bikram singh1-Aug-04 18:05
memberbikram singh1-Aug-04 18:05 
GeneralRe: send a keypress to the games im wanting to work Pin
selethd3-Aug-04 12:18
memberselethd3-Aug-04 12:18 
GeneralRe: Artificial Keyboard for Games Pin
Henry miller2-Aug-04 6:18
memberHenry miller2-Aug-04 6:18 
GeneralRe: Artificial Keyboard for Games Pin
selethd3-Aug-04 12:17
memberselethd3-Aug-04 12:17 
QuestionEvents from a 5-button mouse? Pin
pakosan31-Jul-04 14:37
memberpakosan31-Jul-04 14:37 
AnswerRe: Events from a 5-button mouse? Pin
Michael Dunn31-Jul-04 14:50
sitebuilderMichael Dunn31-Jul-04 14:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 23 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid