Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ctabctrl Pin
prateekkathuria9-Sep-04 9:50
prateekkathuria9-Sep-04 9:50 
QuestionDisplaying a monochrome uchar array - formatting problem? Pin
towd9-Sep-04 5:23
towd9-Sep-04 5:23 
AnswerRe: Displaying a monochrome uchar array - formatting problem? Pin
Chris Losinger9-Sep-04 7:22
professionalChris Losinger9-Sep-04 7:22 
GeneralSetting EXACT Button Size Pin
_BaRNi_9-Sep-04 4:37
_BaRNi_9-Sep-04 4:37 
GeneralRe: Setting EXACT Button Size Pin
alex.barylski9-Sep-04 5:09
alex.barylski9-Sep-04 5:09 
GeneralRe: Setting EXACT Button Size Pin
_BaRNi_9-Sep-04 5:19
_BaRNi_9-Sep-04 5:19 
GeneralRe: Setting EXACT Button Size Pin
Maximilien9-Sep-04 6:47
Maximilien9-Sep-04 6:47 
GeneralRe: Setting EXACT Button Size Pin
David Crow9-Sep-04 8:24
David Crow9-Sep-04 8:24 
GeneralCInternetFile class to read from the server Pin
Cris9-Sep-04 4:18
Cris9-Sep-04 4:18 
GeneralRe: CInternetFile class to read from the server Pin
David Crow9-Sep-04 8:25
David Crow9-Sep-04 8:25 
GeneralAdding an ActiveX control in ActiveX control project Pin
Muhammad Azam9-Sep-04 4:10
Muhammad Azam9-Sep-04 4:10 
GeneralRe: Adding an ActiveX control in ActiveX control project Pin
jmkhael9-Sep-04 4:35
jmkhael9-Sep-04 4:35 
GeneralRe: Adding an ActiveX control in ActiveX control project Pin
Muhammad Azam9-Sep-04 19:25
Muhammad Azam9-Sep-04 19:25 
Generalinheritance,searching and recursion Pin
Member 13550639-Sep-04 3:48
Member 13550639-Sep-04 3:48 
GeneralRe: inheritance,searching and recursion Pin
David Crow9-Sep-04 8:29
David Crow9-Sep-04 8:29 
GeneralDinamic Menus Pin
ivax9-Sep-04 2:33
ivax9-Sep-04 2:33 
QuestionHow to change the menu bar icon.... Pin
bouli9-Sep-04 1:48
bouli9-Sep-04 1:48 
AnswerRe: How to change the menu bar icon.... Pin
Roger Allen9-Sep-04 11:40
Roger Allen9-Sep-04 11:40 
Questionis there a memory limitation for MFC programs? Pin
lonely_life9-Sep-04 0:52
lonely_life9-Sep-04 0:52 
AnswerRe: is there a memory limitation for MFC programs? Pin
vineas9-Sep-04 6:34
vineas9-Sep-04 6:34 
Default stack size is the same for MFC apps vs console apps (1MB if I remember correctly). However with an MFC app, you'll find much more of your stack being used by MFC itself. The console app doesn't have this overhead which is why it was running OK. Also, if you're running a debug build, a lot of the stack is being used by all the debugging info.

Since you're pretty close, fails sometimes and not others, you could probably just bump up your stack size a bit and be OK. This is done via a link option, covered in MSDN here[^].

Another option would be to dump this code out into a worker thread, which will have it's own stack and won't have the MFC overhead using alot of it.

-----
In the land of the blind, the one eyed man is king.
GeneralNot Running when adding RIch Edit Box to a Dialog Pin
pubududilena9-Sep-04 0:44
pubududilena9-Sep-04 0:44 
GeneralRe: Not Running when adding RIch Edit Box to a Dialog Pin
Arsalan Malik9-Sep-04 0:48
Arsalan Malik9-Sep-04 0:48 
GeneralRe: Not Running when adding RIch Edit Box to a Dialog Pin
David Crow9-Sep-04 2:19
David Crow9-Sep-04 2:19 
GeneralCreate Thumbnail of MS WORD file Pin
Sumit Kapoor9-Sep-04 0:07
Sumit Kapoor9-Sep-04 0:07 
GeneralDebugging with Visual Studio .NET Pin
Jerome Conus8-Sep-04 23:32
Jerome Conus8-Sep-04 23:32 

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.