Click here to Skip to main content
15,915,680 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fatal error Pin
kDevloper14-Jul-08 1:30
kDevloper14-Jul-08 1:30 
GeneralRe: fatal error Pin
pavya_Cool14-Jul-08 1:53
pavya_Cool14-Jul-08 1:53 
AnswerRe: fatal error Pin
Mark Salsbery14-Jul-08 6:03
Mark Salsbery14-Jul-08 6:03 
GeneralRe: fatal error Pin
pavya_Cool14-Jul-08 18:48
pavya_Cool14-Jul-08 18:48 
QuestionRe: fatal error Pin
David Crow14-Jul-08 8:33
David Crow14-Jul-08 8:33 
Questioninput parameter debug Pin
George_George13-Jul-08 22:50
George_George13-Jul-08 22:50 
AnswerRe: input parameter debug Pin
Matthew Faithfull14-Jul-08 0:40
Matthew Faithfull14-Jul-08 0:40 
GeneralRe: input parameter debug Pin
George_George14-Jul-08 16:12
George_George14-Jul-08 16:12 
Hi Matthew,


I agree with you that using pure native program is better. I just randomly choose a program and practise debugging. Smile | :)

Here is related stack dump and source codes, you can see it is wrong in debugger for input parameter values. Any ideas? Can you reproduce (I am using Windows Server 2003 x64 + VS 2008)?

0:000> kp
Child-SP          RetAddr           Call Site
00000000`0012ff18 00000001`4000100e ole32!CoInitializeEx(void * pMalloc = 0x00000034`00000008, unsigned long flags = 0x184) 
00000000`0012ff20 00000001`400011d2 TestCoInitializeEx1!main(void)+0xe
00000000`0012ff50 00000000`77d5964c TestCoInitializeEx1!__tmainCRTStartup(void)+0x11a
00000000`0012ff80 00000000`00000000 kernel32!BaseProcessStart(<function> * lpStartAddress = 0x00000001`40001320)+0x29


#include <windows.h>
#include <objbase.h>

int main()
{
	CoInitializeEx(NULL, 0);

	CoUninitialize();

	return 0;
}



regards,
George
GeneralRe: input parameter debug Pin
Matthew Faithfull15-Jul-08 0:42
Matthew Faithfull15-Jul-08 0:42 
GeneralRe: input parameter debug Pin
George_George15-Jul-08 22:26
George_George15-Jul-08 22:26 
GeneralRe: input parameter debug Pin
Matthew Faithfull16-Jul-08 6:46
Matthew Faithfull16-Jul-08 6:46 
GeneralRe: input parameter debug Pin
George_George16-Jul-08 19:46
George_George16-Jul-08 19:46 
AnswerRe: input parameter debug Pin
Mark Salsbery14-Jul-08 6:11
Mark Salsbery14-Jul-08 6:11 
GeneralRe: input parameter debug Pin
George_George14-Jul-08 16:16
George_George14-Jul-08 16:16 
GeneralRe: input parameter debug Pin
Mark Salsbery15-Jul-08 5:25
Mark Salsbery15-Jul-08 5:25 
GeneralRe: input parameter debug Pin
George_George15-Jul-08 22:32
George_George15-Jul-08 22:32 
QuestionLet the CHILD window's bakcground be transparent [modified] Pin
followait13-Jul-08 22:40
followait13-Jul-08 22:40 
AnswerRe: Let the window's bakcground be transparent Pin
sudhir_Kumar14-Jul-08 0:17
sudhir_Kumar14-Jul-08 0:17 
GeneralRe: Let the window's bakcground be transparent Pin
followait14-Jul-08 1:41
followait14-Jul-08 1:41 
AnswerRe: Let the CHILD window's bakcground be transparent Pin
Mark Salsbery14-Jul-08 6:14
Mark Salsbery14-Jul-08 6:14 
QuestionBatch file problem Pin
Nandu_77b13-Jul-08 22:39
Nandu_77b13-Jul-08 22:39 
AnswerRe: Batch file problem Pin
Varghese Paul M13-Jul-08 23:21
Varghese Paul M13-Jul-08 23:21 
GeneralRe: Batch file problem Pin
Nandu_77b13-Jul-08 23:46
Nandu_77b13-Jul-08 23:46 
Questiontry catch question Pin
Dennis L13-Jul-08 22:30
Dennis L13-Jul-08 22:30 
AnswerRe: try catch question Pin
Atropus13-Jul-08 23:06
Atropus13-Jul-08 23:06 

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.