Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: in CExplorer1 class, how to post your form data to the server,as login data. Pin
Madhu Nair5-May-09 18:59
Madhu Nair5-May-09 18:59 
QuestionWhen IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 13:28
ForNow5-May-09 13:28 
AnswerRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
Stuart Dootson5-May-09 14:41
professionalStuart Dootson5-May-09 14:41 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 14:51
ForNow5-May-09 14:51 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
Stuart Dootson5-May-09 15:14
professionalStuart Dootson5-May-09 15:14 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 15:20
ForNow5-May-09 15:20 
AnswerRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
Randor 5-May-09 16:17
professional Randor 5-May-09 16:17 
QuestionRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
David Crow5-May-09 16:34
David Crow5-May-09 16:34 
AnswerRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 16:59
ForNow5-May-09 16:59 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow6-May-09 4:42
ForNow6-May-09 4:42 
Questioncan VC++ 6.0 talk with SharePoint Server Pin
s33335-May-09 10:24
s33335-May-09 10:24 
AnswerRe: can VC++ 6.0 talk with SharePoint Server Pin
Stuart Dootson5-May-09 10:37
professionalStuart Dootson5-May-09 10:37 
QuestionSemaphore Max count. Pin
_80865-May-09 6:57
_80865-May-09 6:57 
AnswerRe: Semaphore Max count. Pin
Stuart Dootson5-May-09 7:26
professionalStuart Dootson5-May-09 7:26 
GeneralRe: Semaphore Max count. Pin
_80865-May-09 16:36
_80865-May-09 16:36 
GeneralRe: Semaphore Max count. Pin
Stuart Dootson5-May-09 17:00
professionalStuart Dootson5-May-09 17:00 
GeneralRe: Semaphore Max count. Pin
_80865-May-09 17:20
_80865-May-09 17:20 
GeneralRe: Semaphore Max count. Pin
_80866-May-09 6:36
_80866-May-09 6:36 
GeneralRe: Semaphore Max count. Pin
Stuart Dootson6-May-09 7:24
professionalStuart Dootson6-May-09 7:24 
GeneralRe: Semaphore Max count. Pin
_80866-May-09 16:23
_80866-May-09 16:23 
GeneralRe: Semaphore Max count. Pin
Stuart Dootson6-May-09 19:32
professionalStuart Dootson6-May-09 19:32 
QuestionHelp about Win32 Message loop Pin
reply2am5-May-09 4:48
reply2am5-May-09 4:48 
QuestionAnimatedGif drawing with openGL Pin
Jufranz5-May-09 4:10
Jufranz5-May-09 4:10 
QuestionHow to Convert _asm to Interinsics Pin
AB_dev5-May-09 3:32
AB_dev5-May-09 3:32 
Anybody know how to convert the following code?

		__asm<br />
		{<br />
			push eax<br />
			push edi<br />
<br />
			push es<br />
			push ecx<br />
<br />
			// EDI = &m_StartExceptionContext<br />
			mov edi, [this]<br />
			add edi, [m_StartExceptionContext]<br />
			// ES = DS<br />
			push ds<br />
			pop es<br />
			// ECX = sizeof(m_StartExceptionContext)<br />
			mov ecx, size m_StartExceptionContext<br />
			// EAX = 0<br />
			xor eax, eax<br />
			// store EDI<br />
			push edi<br />
			// ZeroMemory(&m_StartExceptionContext, sizeof(m_StartExceptionContext))<br />
			cld<br />
			rep stosb<br />
			// restore EDI<br />
			pop edi<br />
<br />
			pop ecx<br />
			pop es<br />
<br />
			// fill m_StartExceptionContext<br />
			mov dword ptr [edi] CONTEXT.ContextFlags, CONTEXT_FULL<br />
			mov dword ptr [edi] CONTEXT.Eax, eax<br />
			mov dword ptr [edi] CONTEXT.Ecx, ecx<br />
			mov dword ptr [edi] CONTEXT.Edx, edx<br />
			mov dword ptr [edi] CONTEXT.Ebx, ebx<br />
			mov dword ptr [edi] CONTEXT.Esi, esi<br />
			mov dword ptr [edi] CONTEXT.Edi, edi<br />
			mov word ptr [edi] CONTEXT.SegSs, ss<br />
			mov word ptr [edi] CONTEXT.SegCs, cs<br />
			mov word ptr [edi] CONTEXT.SegDs, ds<br />
			mov word ptr [edi] CONTEXT.SegEs, es<br />
			mov word ptr [edi] CONTEXT.SegFs, fs<br />
			mov word ptr [edi] CONTEXT.SegGs, gs<br />
			// m_StartExceptionContext.EFlags = flags<br />
			pushfd<br />
			pop [edi] CONTEXT.EFlags<br />
			// extract caller's EBP, IP (return address) and ESP<br />
			mov eax, [ebp]<br />
			mov dword ptr [edi] CONTEXT.Ebp, eax<br />
			mov eax, [ebp + 4]<br />
			mov dword ptr [edi] CONTEXT.Eip, eax<br />
			lea eax, [ebp + 8]<br />
			mov dword ptr [edi] CONTEXT.Esp, eax<br />
<br />
			pop edi<br />
			pop eax<br />
		}<br />
	}

AnswerRe: How to Convert _asm to Interinsics Pin
Stuart Dootson5-May-09 3:42
professionalStuart Dootson5-May-09 3:42 

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.