Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Results of ReadProcessMemory() Pin
David Crow20-Aug-04 4:56
David Crow20-Aug-04 4:56 
GeneralRe: Results of ReadProcessMemory() Pin
jmkhael20-Aug-04 5:07
jmkhael20-Aug-04 5:07 
GeneralRe: Results of ReadProcessMemory() Pin
Micie20-Aug-04 5:28
Micie20-Aug-04 5:28 
GeneralRe: Results of ReadProcessMemory() Pin
4apai20-Aug-04 5:37
4apai20-Aug-04 5:37 
GeneralRe: Results of ReadProcessMemory() Pin
jmkhael20-Aug-04 5:43
jmkhael20-Aug-04 5:43 
GeneralRe: Results of ReadProcessMemory() Pin
4apai20-Aug-04 5:49
4apai20-Aug-04 5:49 
GeneralRe: Results of ReadProcessMemory() Pin
Micie20-Aug-04 5:55
Micie20-Aug-04 5:55 
GeneralRe: Results of ReadProcessMemory() Pin
4apai20-Aug-04 6:04
4apai20-Aug-04 6:04 
for (DWORD x=0x00408021, i=0, r=0; i<32; i+=8, r+=(((x << i) & 0xff000000) >> (24 - i)));


(((x << i) & 0xff000000) >> (24 - i)));

<< - its left bitshift operation
for example:
0x00408021 << 8 = 0x40802100;
then we need to trim right side of value to leave only first byte:
0x40802100 & 0xff000000 = 0x40000000;
then we put this byte in reverse-order by specifiing bits for right bitshift operation
0x40000000 >> 16 = 0x00004000;
finally we add this temporary value to our result variable.

4apai.
GeneralRe: Results of ReadProcessMemory() Pin
Micie20-Aug-04 6:08
Micie20-Aug-04 6:08 
GeneralRe: Results of ReadProcessMemory() Pin
David Crow20-Aug-04 6:23
David Crow20-Aug-04 6:23 
GeneralRe: Results of ReadProcessMemory() Pin
jmkhael20-Aug-04 6:25
jmkhael20-Aug-04 6:25 
Generalenumwindows on window hidden to systray Pin
NikoTanghe20-Aug-04 1:34
NikoTanghe20-Aug-04 1:34 
GeneralRe: enumwindows on window hidden to systray Pin
4apai20-Aug-04 1:51
4apai20-Aug-04 1:51 
GeneralRe: enumwindows on window hidden to systray Pin
NikoTanghe20-Aug-04 2:01
NikoTanghe20-Aug-04 2:01 
GeneralRe: enumwindows on window hidden to systray Pin
4apai20-Aug-04 2:12
4apai20-Aug-04 2:12 
GeneralRe: enumwindows on window hidden to systray Pin
NikoTanghe20-Aug-04 2:19
NikoTanghe20-Aug-04 2:19 
GeneralRe: enumwindows on window hidden to systray Pin
4apai20-Aug-04 2:21
4apai20-Aug-04 2:21 
GeneralRe: enumwindows on window hidden to systray Pin
NikoTanghe20-Aug-04 2:25
NikoTanghe20-Aug-04 2:25 
GeneralRe: enumwindows on window hidden to systray Pin
4apai20-Aug-04 2:30
4apai20-Aug-04 2:30 
GeneralRe: enumwindows on window hidden to systray Pin
Micie20-Aug-04 2:58
Micie20-Aug-04 2:58 
GeneralRe: enumwindows on window hidden to systray Pin
David Crow20-Aug-04 4:37
David Crow20-Aug-04 4:37 
GeneralRe: enumwindows on window hidden to systray Pin
4apai20-Aug-04 4:44
4apai20-Aug-04 4:44 
GeneralRe: enumwindows on window hidden to systray Pin
David Crow20-Aug-04 3:00
David Crow20-Aug-04 3:00 
GeneralRe: enumwindows on window hidden to systray Pin
Blake Miller20-Aug-04 4:33
Blake Miller20-Aug-04 4:33 
Generalshow a message like tool tip Pin
zahid_ash20-Aug-04 1:30
zahid_ash20-Aug-04 1:30 

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.