Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: marker audio in sdk Pin
Vadim Tabakman9-Jun-04 11:46
Vadim Tabakman9-Jun-04 11:46 
GeneralFancy Property Sheet Pin
flip8-Jun-04 19:08
flip8-Jun-04 19:08 
GeneralRedirecting standard input from dos-console to HWND Pin
Paolo Ponzano8-Jun-04 18:45
Paolo Ponzano8-Jun-04 18:45 
GeneralRe: Redirecting standard input from dos-console to HWND Pin
Anthony_Yio8-Jun-04 20:12
Anthony_Yio8-Jun-04 20:12 
GeneralRe: Redirecting standard input from dos-console to HWND Pin
David Crow9-Jun-04 3:33
David Crow9-Jun-04 3:33 
GeneralHelp! Line Thinning using Visual C++ Pin
fuzzypeach8-Jun-04 17:42
fuzzypeach8-Jun-04 17:42 
GeneralWhat's problem with IHTMLDocument2::write Pin
Hailiang Yu8-Jun-04 17:12
Hailiang Yu8-Jun-04 17:12 
GeneralNeed a little help Pin
mayanxn038-Jun-04 17:05
mayanxn038-Jun-04 17:05 
Okay, so I'm checking out the source code on this project. And I get to this section of code.

<br />
void GetResolution( int &X, int &Y ) {<br />
	byte array[8];<br />
	X = Y = 0;<br />
	unsigned long address;<br />
	if ( ReadProcessMemory( g_hCurrentProcess, (void *) g_uiResolutionOffset, (void *) array, 4, NULL ) ) {<br />
		address = GetUnsignedLong( array );<br />
		if ( ReadProcessMemory( g_hCurrentProcess, (void *) (address + 268), (void *) array, 4, NULL ) ) {<br />
			X = GetUnsignedLong( array );<br />
			if ( ReadProcessMemory( g_hCurrentProcess, (void *) (address + 272), (void *) array, 4, NULL ) ) {<br />
				Y = GetUnsignedLong( array );<br />


Now, I am a bit confused as to what is meant by "address +268" I know 'address' is the base offset, but what is added to it? is it 268 bytes or is it an unsigned long or what?
GeneralRe: Need a little help Pin
Vadim Tabakman8-Jun-04 17:07
Vadim Tabakman8-Jun-04 17:07 
GeneralRe: Need a little help Pin
John R. Shaw8-Jun-04 17:49
John R. Shaw8-Jun-04 17:49 
GeneralRe: Need a little help Pin
Ryan Binns8-Jun-04 18:19
Ryan Binns8-Jun-04 18:19 
GeneralRe: Need a little help Pin
Vadim Tabakman8-Jun-04 18:29
Vadim Tabakman8-Jun-04 18:29 
GeneralRe: Need a little help Pin
John R. Shaw8-Jun-04 18:51
John R. Shaw8-Jun-04 18:51 
GeneralRe: Need a little help Pin
Vadim Tabakman8-Jun-04 18:28
Vadim Tabakman8-Jun-04 18:28 
GeneralCapturing/Saving a bitmap Pin
aparajita8-Jun-04 15:04
aparajita8-Jun-04 15:04 
GeneralRe: Capturing/Saving a bitmap Pin
Vadim Tabakman8-Jun-04 15:32
Vadim Tabakman8-Jun-04 15:32 
GeneralRe: Capturing/Saving a bitmap Pin
V.9-Jun-04 2:12
professionalV.9-Jun-04 2:12 
QuestionHow to create a file that inherits permissions? Pin
ICantChangeMyAcct8-Jun-04 14:58
ICantChangeMyAcct8-Jun-04 14:58 
AnswerRe: How to create a file that inherits permissions? Pin
jmkhael8-Jun-04 22:43
jmkhael8-Jun-04 22:43 
GeneralLocation of Poll.h - FOUND Pin
Vadim Tabakman8-Jun-04 13:27
Vadim Tabakman8-Jun-04 13:27 
GeneralLive video processing / DirectX Pin
merlinos8-Jun-04 13:01
merlinos8-Jun-04 13:01 
GeneralRe: Live video processing / DirectX Pin
Taha Elsayed8-Jun-04 14:28
Taha Elsayed8-Jun-04 14:28 
GeneralRe: Live video processing / DirectX Pin
merlinos8-Jun-04 14:50
merlinos8-Jun-04 14:50 
GeneralRe: Live video processing / DirectX Pin
Andrew Walker8-Jun-04 17:22
Andrew Walker8-Jun-04 17:22 
GeneralRe: Live video processing / DirectX Pin
merlinos9-Jun-04 17:49
merlinos9-Jun-04 17:49 

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.