Click here to Skip to main content
15,921,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HWND of app Pin
Maxwell Chen25-Apr-04 16:25
Maxwell Chen25-Apr-04 16:25 
GeneralRe: HWND of app Pin
Prakash Nadar25-Apr-04 16:34
Prakash Nadar25-Apr-04 16:34 
GeneralRe: HWND of app Pin
Maxwell Chen25-Apr-04 16:53
Maxwell Chen25-Apr-04 16:53 
GeneralRe: HWND of app Pin
Prakash Nadar25-Apr-04 18:43
Prakash Nadar25-Apr-04 18:43 
Questionhow to left circular shift ? Pin
Marco M.25-Apr-04 7:14
Marco M.25-Apr-04 7:14 
AnswerRe: how to left circular shift ? Pin
Mike Nordell25-Apr-04 7:30
Mike Nordell25-Apr-04 7:30 
GeneralGetActivedocument, debug, release Pin
Anonymous25-Apr-04 6:53
Anonymous25-Apr-04 6:53 
GeneralRe: GetActivedocument, debug, release Pin
Mike Dimmick25-Apr-04 9:31
Mike Dimmick25-Apr-04 9:31 
You'll never get assertions in a release build because they're removed by the preprocessor before the compiler compiles the code.

However, you should pay attention to assertions, because they're telling you that something's wrong.

In this particular case, it's telling you that MFC can't find the current window handle value in either its permanent or temporary maps. This is a Bad Thing. The permanent map holds window pointers for windows that you've either created in code from an MFC class, Attached, or subclassed using SubclassWindow. The temporary map holds temporary CWnd objects created by MFC from CWnd::FromHandle, GetDlgItem and many other functions that return a CWnd* (where those functions don't find the handle in the permanent map).

Basically, it means that the window underlying the CFrameWnd object (at a guess) has probably been destroyed or not initialised properly - a NULL m_hWnd is considered a valid CWnd.

Stability. What an interesting concept. -- Chris Maunder
GeneralCreating a log file Pin
Mortis25-Apr-04 6:35
Mortis25-Apr-04 6:35 
GeneralRe: Creating a log file Pin
peterchen25-Apr-04 10:17
peterchen25-Apr-04 10:17 
GeneralRe: Creating a log file Pin
f6425-Apr-04 11:17
f6425-Apr-04 11:17 
GeneralRe: Creating a log file Pin
Jason Henderson25-Apr-04 18:27
Jason Henderson25-Apr-04 18:27 
GeneralRe: Creating a log file Pin
Mortis25-Apr-04 23:56
Mortis25-Apr-04 23:56 
Generalterminating processes Pin
Ryan McDermott25-Apr-04 5:16
Ryan McDermott25-Apr-04 5:16 
GeneralRe: terminating processes Pin
valikac25-Apr-04 5:36
valikac25-Apr-04 5:36 
GeneralRe: terminating processes Pin
Paul Ranson25-Apr-04 8:34
Paul Ranson25-Apr-04 8:34 
GeneralRe: terminating processes Pin
Shree25-Apr-04 19:02
Shree25-Apr-04 19:02 
QuestionAdding text to CRicheditctrl? Pin
CodeBrain25-Apr-04 5:08
CodeBrain25-Apr-04 5:08 
AnswerRe: Adding text to CRicheditctrl? Pin
Dominik Reichl25-Apr-04 6:19
Dominik Reichl25-Apr-04 6:19 
GeneralRe: Adding text to CRicheditctrl? Pin
CodeBrain25-Apr-04 7:24
CodeBrain25-Apr-04 7:24 
GeneralOpening a document Pin
Arnav25-Apr-04 3:53
Arnav25-Apr-04 3:53 
GeneralRe: Opening a document Pin
peterchen25-Apr-04 4:05
peterchen25-Apr-04 4:05 
GeneralRe: Opening a document Pin
Mike Dimmick25-Apr-04 9:33
Mike Dimmick25-Apr-04 9:33 
GeneralCustom Cursor Pin
Anonymous25-Apr-04 1:35
Anonymous25-Apr-04 1:35 
GeneralRe: Custom Cursor Pin
Michael Dunn25-Apr-04 5:09
sitebuilderMichael Dunn25-Apr-04 5:09 

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.