Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Doubt with respect Microsoft TFS Pin
KarstenK9-Dec-09 22:36
mveKarstenK9-Dec-09 22:36 
AnswerRe: Doubt with respect Microsoft TFS Pin
Stuart Dootson9-Dec-09 22:58
professionalStuart Dootson9-Dec-09 22:58 
QuestionMaking An Exe stand alone [modified] Pin
jannathali9-Dec-09 19:47
jannathali9-Dec-09 19:47 
AnswerRe: Making An Exe stand alone Pin
Cedric Moonen9-Dec-09 20:23
Cedric Moonen9-Dec-09 20:23 
AnswerRe: Making An Exe stand alone Pin
KarstenK9-Dec-09 21:47
mveKarstenK9-Dec-09 21:47 
AnswerRe: Making An Exe stand alone Pin
sunlin79-Dec-09 22:06
sunlin79-Dec-09 22:06 
GeneralRe: Making An Exe stand alone Pin
sunlin79-Dec-09 22:12
sunlin79-Dec-09 22:12 
QuestionHow to Lock Other Process's Offset Address of the values ? Pin
wangningyu9-Dec-09 19:26
wangningyu9-Dec-09 19:26 
Hello Everyone !

now I want to revise the offset address of the value in other process.

just like this :
void C***Dlg::LockData()
{
	HWND	hWnd;
	HANDLE	hLink;
	DWORD	dwPid;
	int		dwData=10000;
	int		nData = 4000000;
	hWnd = ::FindWindow(NULL,"title");
	if(hWnd == NULL)
	{
		MessageBox("the game is not running !");
		return;
	}
	GetWindowThreadProcessId(hWnd,&dwPid);
	hLink = OpenProcess(PROCESS_ALL_ACCESS | PROCESS_TERMINATE |
		PROCESS_VM_OPERATION | PROCESS_VM_READ |
		PROCESS_VM_WRITE,FALSE,dwPid);
	if(hLink)
	{
		WriteProcessMemory(hLink,(LPVOID)0x00B05542,&nData,2,NULL);
		Sleep(50);
	}
	CloseHandle(hLink);
	CloseHandle(hWnd);
	MessageBox("successed !");
}


How to lock the values or set readonly?
AnswerRe: How to Lock Other Process's Offset Address of the values ? Pin
Adam Roderick J10-Dec-09 0:15
Adam Roderick J10-Dec-09 0:15 
AnswerRe: How to Lock Other Process's Offset Address of the values ? Pin
Richard MacCutchan10-Dec-09 2:27
mveRichard MacCutchan10-Dec-09 2:27 
GeneralRe: How to Lock Other Process's Offset Address of the values ? Pin
wangningyu10-Dec-09 4:36
wangningyu10-Dec-09 4:36 
GeneralRe: How to Lock Other Process's Offset Address of the values ? Pin
Adam Roderick J10-Dec-09 17:16
Adam Roderick J10-Dec-09 17:16 
QuestionHow can convert number to words? Pin
Le@rner9-Dec-09 18:52
Le@rner9-Dec-09 18:52 
AnswerRe: How can convert number to words? Pin
_AnsHUMAN_ 9-Dec-09 19:15
_AnsHUMAN_ 9-Dec-09 19:15 
GeneralRe: How can convert number to words? Pin
CPallini9-Dec-09 20:56
mveCPallini9-Dec-09 20:56 
AnswerRe: How can convert number to words? Pin
Stephen Hewitt10-Dec-09 20:08
Stephen Hewitt10-Dec-09 20:08 
QuestionCreate Oracle database(tables) programmatically in VC++ Pin
diptipanchal9-Dec-09 18:39
diptipanchal9-Dec-09 18:39 
AnswerRe: Create Oracle database(tables) programmatically in VC++ Pin
David Crow10-Dec-09 4:17
David Crow10-Dec-09 4:17 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal10-Dec-09 17:21
diptipanchal10-Dec-09 17:21 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
David Crow10-Dec-09 17:27
David Crow10-Dec-09 17:27 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal10-Dec-09 18:09
diptipanchal10-Dec-09 18:09 
AnswerRe: Create Oracle database(tables) programmatically in VC++ Pin
David Crow15-Dec-09 2:49
David Crow15-Dec-09 2:49 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal16-Dec-09 17:04
diptipanchal16-Dec-09 17:04 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
David Crow17-Dec-09 3:12
David Crow17-Dec-09 3:12 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal17-Dec-09 21:48
diptipanchal17-Dec-09 21:48 

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.