Click here to Skip to main content
15,904,934 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying float in MessageBox Pin
Nish Nishant26-Mar-06 7:49
sitebuilderNish Nishant26-Mar-06 7:49 
GeneralRe: Displaying float in MessageBox Pin
toxcct26-Mar-06 20:31
toxcct26-Mar-06 20:31 
GeneralRe: Displaying float in MessageBox Pin
ThatsAlok26-Mar-06 18:01
ThatsAlok26-Mar-06 18:01 
GeneralRe: Displaying float in MessageBox Pin
normanS26-Mar-06 18:25
normanS26-Mar-06 18:25 
AnswerRe: Displaying float in MessageBox Pin
eli1502197926-Mar-06 1:44
eli1502197926-Mar-06 1:44 
QuestionProblem in Drag & Drop with Splitter Window Pin
Sarvan AL25-Mar-06 19:08
Sarvan AL25-Mar-06 19:08 
AnswerRe: Problem in Drag & Drop with Splitter Window Pin
Michael Dunn26-Mar-06 12:35
sitebuilderMichael Dunn26-Mar-06 12:35 
QuestionGetThreadContext always gives the same Context.Eip for all the threads of a program :( Pin
IvanovaIsGod25-Mar-06 18:38
IvanovaIsGod25-Mar-06 18:38 
Hi, 1st post here Smile | :)
I'm trying to figure out the address where the threads of a program are currently executing. This is the code of the internal loop:

<br />
	CONTEXT Context;<br />
	ZeroMemory(&Context,sizeof(Context));<br />
	Context.ContextFlags=CONTEXT_CONTROL|CONTEXT_INTEGER;<br />
<br />
	HANDLE h=OpenT(process.NtProcess->Threads[i].id);  // Expands to OpenThread(....<br />
	SuspendThread(h);<br />
	GetThreadContext(h,&Context);<br />
	ResumeThread(h);<br />
	CloseHandle(h);<br />


All the above works fine. The problem is that for all the threads I get the same Context.Eip Mad | :mad:

Anyway, do you know a simple and better way, so that my head doesn't explode? Big Grin | :-D
Thanks all!
QuestionProblem in Visual C++ Pin
vkajith25-Mar-06 17:55
vkajith25-Mar-06 17:55 
AnswerRe: Problem in Visual C++ Pin
Justin Tay25-Mar-06 18:28
Justin Tay25-Mar-06 18:28 
AnswerRe: Problem in Visual C++ Pin
vkajith25-Mar-06 18:54
vkajith25-Mar-06 18:54 
GeneralRe: Problem in Visual C++ Pin
Justin Tay25-Mar-06 19:27
Justin Tay25-Mar-06 19:27 
AnswerRe: Problem in Visual C++ Pin
IvanovaIsGod25-Mar-06 18:48
IvanovaIsGod25-Mar-06 18:48 
AnswerRe: Problem in Visual C++ Pin
vkajith25-Mar-06 18:58
vkajith25-Mar-06 18:58 
GeneralRe: Problem in Visual C++ Pin
IvanovaIsGod25-Mar-06 19:32
IvanovaIsGod25-Mar-06 19:32 
GeneralRe: Problem in Visual C++ Pin
Justin Tay25-Mar-06 20:09
Justin Tay25-Mar-06 20:09 
QuestionBitmap Pin
Tran Ngoc Minh25-Mar-06 16:27
Tran Ngoc Minh25-Mar-06 16:27 
AnswerRe: Bitmap Pin
Hamid_RT25-Mar-06 21:39
Hamid_RT25-Mar-06 21:39 
QuestionStack Operation Pin
need4change25-Mar-06 16:25
need4change25-Mar-06 16:25 
AnswerRe: Stack Operation Pin
toxcct26-Mar-06 3:35
toxcct26-Mar-06 3:35 
AnswerRe: Stack Operation Pin
Eytukan26-Mar-06 21:59
Eytukan26-Mar-06 21:59 
QuestionGetting started with network/socket programming... Pin
Lord Kixdemp25-Mar-06 13:33
Lord Kixdemp25-Mar-06 13:33 
AnswerRe: Getting started with network/socket programming... Pin
Aqueel25-Mar-06 17:24
Aqueel25-Mar-06 17:24 
GeneralRe: Getting started with network/socket programming... Pin
Lord Kixdemp26-Mar-06 6:39
Lord Kixdemp26-Mar-06 6:39 
AnswerRe: Getting started with network/socket programming... Pin
Eytukan26-Mar-06 22:18
Eytukan26-Mar-06 22:18 

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.