Click here to Skip to main content
15,911,327 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to count repeating elements in an array ? Pin
Waldemar Ork2-Oct-09 10:44
Waldemar Ork2-Oct-09 10:44 
QuestionTimeOut recieved while trying to take snapshot using VSS Pin
Vishuk2-Oct-09 4:36
Vishuk2-Oct-09 4:36 
GeneralDDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
ForNow2-Oct-09 3:42
ForNow2-Oct-09 3:42 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
Code-o-mat2-Oct-09 6:10
Code-o-mat2-Oct-09 6:10 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
ForNow2-Oct-09 7:09
ForNow2-Oct-09 7:09 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
Code-o-mat2-Oct-09 9:18
Code-o-mat2-Oct-09 9:18 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
ForNow2-Oct-09 11:52
ForNow2-Oct-09 11:52 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
Code-o-mat2-Oct-09 23:38
Code-o-mat2-Oct-09 23:38 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
ForNow4-Oct-09 14:12
ForNow4-Oct-09 14:12 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
Code-o-mat4-Oct-09 20:24
Code-o-mat4-Oct-09 20:24 
GeneralRe: DDX_CONTROL in lieu of ::Create for Cricheditctrl Pin
ForNow5-Oct-09 0:49
ForNow5-Oct-09 0:49 
QuestionWINDOWS.H already included. MFC apps must not #include <windows.h></windows.h> Pin
dehseth2-Oct-09 3:39
dehseth2-Oct-09 3:39 
AnswerRe: WINDOWS.H already included. MFC apps must not #include Pin
«_Superman_»2-Oct-09 4:13
professional«_Superman_»2-Oct-09 4:13 
AnswerRe: WINDOWS.H already included. MFC apps must not #include Pin
Rajesh R Subramanian2-Oct-09 20:46
professionalRajesh R Subramanian2-Oct-09 20:46 
QuestionMFC CreateEx function crashes program Pin
ChrisBuckley2-Oct-09 3:23
ChrisBuckley2-Oct-09 3:23 
AnswerRe: MFC CreateEx function crashes program Pin
Cedric Moonen2-Oct-09 3:48
Cedric Moonen2-Oct-09 3:48 
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 

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.