Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley2-Oct-09 4:13
ChrisBuckley2-Oct-09 4:13 
GeneralRe: MFC CreateEx function crashes program Pin
transoft2-Oct-09 6:13
transoft2-Oct-09 6:13 
GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley2-Oct-09 7:14
ChrisBuckley2-Oct-09 7:14 
GeneralRe: MFC CreateEx function crashes program Pin
transoft2-Oct-09 7:23
transoft2-Oct-09 7:23 
GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley2-Oct-09 7:47
ChrisBuckley2-Oct-09 7:47 
GeneralRe: MFC CreateEx function crashes program Pin
transoft2-Oct-09 8:54
transoft2-Oct-09 8:54 
GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley5-Oct-09 4:24
ChrisBuckley5-Oct-09 4:24 
GeneralRe: MFC CreateEx function crashes program Pin
Tim Craig3-Oct-09 21:58
Tim Craig3-Oct-09 21:58 
Often when the debug version works and the release crashes and you're dealing with pointers, you might have an uninitialized pointer. The debug heap zeros data blocks before it returns them and the release version doesn't. The pointer value itself is nonNULL but contains garbage so when something dereferences it, the program crashes. If the function accepts NULL as a valid pointer, it obviously checks and doesn't try to dereference the pointer. Since it worked before, you may just have gotten lucky and the garbage in the pointer pointed to something that could be interpreted as a valid string.

You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley5-Oct-09 4:59
ChrisBuckley5-Oct-09 4:59 
QuestionDebug Error - Calling a class member function declared in another file Pin
AntoineBab2-Oct-09 3:14
AntoineBab2-Oct-09 3:14 
QuestionRe: Debug Error - Calling a class member function declared in another file Pin
David Crow2-Oct-09 8:56
David Crow2-Oct-09 8:56 
QuestionBackground Colour of TabControl Pin
Deepak.Prahlad2-Oct-09 3:00
Deepak.Prahlad2-Oct-09 3:00 
AnswerRe: Background Colour of TabControl Pin
Deepak.Prahlad6-Nov-09 21:08
Deepak.Prahlad6-Nov-09 21:08 
Questionhow to pass arguments to createproces() function Pin
WindowsVsLinux2-Oct-09 1:26
WindowsVsLinux2-Oct-09 1:26 
AnswerRe: how to pass arguments to createproces() function Pin
CPallini2-Oct-09 1:57
mveCPallini2-Oct-09 1:57 
GeneralRe: how to pass arguments to createproces() function Pin
WindowsVsLinux2-Oct-09 2:34
WindowsVsLinux2-Oct-09 2:34 
GeneralRe: how to pass arguments to createproces() function Pin
Michael Schubert2-Oct-09 2:39
Michael Schubert2-Oct-09 2:39 
GeneralRe: how to pass arguments to createproces() function Pin
WindowsVsLinux2-Oct-09 2:44
WindowsVsLinux2-Oct-09 2:44 
GeneralRe: how to pass arguments to createproces() function Pin
David Crow2-Oct-09 2:50
David Crow2-Oct-09 2:50 
GeneralRe: how to pass arguments to createproces() function Pin
Michael Schubert2-Oct-09 2:52
Michael Schubert2-Oct-09 2:52 
GeneralRe: how to pass arguments to createproces() function Pin
CPallini2-Oct-09 2:44
mveCPallini2-Oct-09 2:44 
QuestionRe: how to pass arguments to createproces() function Pin
David Crow2-Oct-09 2:21
David Crow2-Oct-09 2:21 
AnswerRe: how to pass arguments to createproces() function Pin
Michael Schubert2-Oct-09 2:33
Michael Schubert2-Oct-09 2:33 
GeneralRe: how to pass arguments to createproces() function Pin
Cedric Moonen2-Oct-09 2:51
Cedric Moonen2-Oct-09 2:51 
QuestionCloning Dialogs in VS2005 Pin
Grahamfff2-Oct-09 0:13
Grahamfff2-Oct-09 0:13 

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.