Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Maximum Item in CListCtrl Pin
David Crow16-Jan-04 3:46
David Crow16-Jan-04 3:46 
GeneralLoading a JPEG in MFC Application Pin
hurr1can315-Jan-04 19:52
hurr1can315-Jan-04 19:52 
GeneralRe: Loading a JPEG in MFC Application Pin
Abhi Lahare15-Jan-04 21:57
Abhi Lahare15-Jan-04 21:57 
GeneralRe: Loading a JPEG in MFC Application Pin
Monty215-Jan-04 22:09
Monty215-Jan-04 22:09 
GeneralChange status bar text in VC6 Pin
StHubi15-Jan-04 19:50
StHubi15-Jan-04 19:50 
QuestionWhy doesn't the process be terminated? Pin
zhaopzhi15-Jan-04 19:44
zhaopzhi15-Jan-04 19:44 
AnswerRe: Why doesn't the process be terminated? Pin
Monty215-Jan-04 22:12
Monty215-Jan-04 22:12 
AnswerRe: Why doesn't the process be terminated? Pin
Mike Dimmick16-Jan-04 3:45
Mike Dimmick16-Jan-04 3:45 
Two reasons I can think of. One is common, another is more rare.

The common reason is that you haven't actually posted a quit message to the thread, so the thread is blocked waiting for a message that will never arise. This is more common in Win32 SDK programs. You should PostQuitMessage in response to a WM_NCDESTROY message. If using MFC, it should have done this for you, unless you've overloaded PostNcDestroy and not called the base class, IIRC.

The rare reason is that something has deadlocked in DllMain. You can get this problem if you try to wait for an object in DllMain, or sometimes if you release a COM object in a static object's destructor. Check the rules for DllMain. Destructors for static objects run in the scope of DllMain for static objects in DLLs.
Generalpls help! me ...controlling one view from another Pin
Atilla Selem15-Jan-04 19:28
Atilla Selem15-Jan-04 19:28 
GeneralRe: pls help! me ...controlling one view from another Pin
Monty215-Jan-04 22:17
Monty215-Jan-04 22:17 
GeneralRe: pls help! me ...controlling one view from another Pin
Atilla Selem16-Jan-04 4:53
Atilla Selem16-Jan-04 4:53 
GeneralC/C++ program Line limits Pin
Member 1697715-Jan-04 19:20
Member 1697715-Jan-04 19:20 
GeneralRe: C/C++ program Line limits Pin
Prakash Nadar15-Jan-04 22:03
Prakash Nadar15-Jan-04 22:03 
GeneralNeed AVStream Driver help Pin
User 21559715-Jan-04 19:15
User 21559715-Jan-04 19:15 
GeneralWh_keyboard Hook Doubt Pin
percyvimal15-Jan-04 18:32
percyvimal15-Jan-04 18:32 
Questionhow to show word doc? Pin
Abhi Lahare15-Jan-04 18:32
Abhi Lahare15-Jan-04 18:32 
AnswerRe: how to show word doc? Pin
Monty215-Jan-04 22:21
Monty215-Jan-04 22:21 
GeneralRe: how to show word doc? Pin
Abhi Lahare16-Jan-04 18:11
Abhi Lahare16-Jan-04 18:11 
GeneralResource Editing in VC6 Pin
Roger Wright15-Jan-04 17:50
professionalRoger Wright15-Jan-04 17:50 
GeneralRe: Resource Editing in VC6 Pin
Signal-915-Jan-04 18:07
Signal-915-Jan-04 18:07 
GeneralRe: Resource Editing in VC6 Pin
Roger Wright15-Jan-04 18:21
professionalRoger Wright15-Jan-04 18:21 
GeneralRe: Resource Editing in VC6 Pin
Marcello16-Jan-04 5:46
Marcello16-Jan-04 5:46 
GeneralRe: Resource Editing in VC6 Pin
Michael Dunn15-Jan-04 18:39
sitebuilderMichael Dunn15-Jan-04 18:39 
QuestionCOmpile error? Pin
Maverick15-Jan-04 17:47
Maverick15-Jan-04 17:47 
AnswerRe: COmpile error? Pin
Abhi Lahare15-Jan-04 18:47
Abhi Lahare15-Jan-04 18:47 

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.