Click here to Skip to main content
16,011,870 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Anyone know how to find USB to Serial ports? Pin
Bob Stanneveld19-Jul-05 20:00
Bob Stanneveld19-Jul-05 20:00 
GeneralHelp with DateTime() Pin
Lagwagon5618-Jul-05 7:16
Lagwagon5618-Jul-05 7:16 
GeneralRe: Help with DateTime() Pin
Michael Dunn18-Jul-05 7:46
sitebuilderMichael Dunn18-Jul-05 7:46 
GeneralRe: Help with DateTime() Pin
Lagwagon5618-Jul-05 7:53
Lagwagon5618-Jul-05 7:53 
GeneralIsWindow Pin
Larsson18-Jul-05 6:11
Larsson18-Jul-05 6:11 
GeneralRe: IsWindow Pin
Jose Lamas Rios18-Jul-05 6:49
Jose Lamas Rios18-Jul-05 6:49 
GeneralRe: IsWindow Pin
Larsson18-Jul-05 7:05
Larsson18-Jul-05 7:05 
GeneralRe: IsWindow Pin
Jose Lamas Rios18-Jul-05 7:36
Jose Lamas Rios18-Jul-05 7:36 
You are calling (either directly or indirectly) a method on a CWnd object or derived class. The implementation of that method expects to either be attached to some window (IsWindow(m_hWnd)) or to be a COM object wrapper (m_pCtrlSite!=NULL). The assertion is failing because at the time of that call, neither of those conditions is true.

Again, run it under the debugger. When you get the assertion message, click "Retry" or "Break" (I don't remember the exact button caption) so as to stop the debugger at the line where the assertion was written. Take note of what function the assertion is in. Take note of the call stack and see where the call to that function is coming from, back to some of your code. That should give you some hint of what is wrong. If you are unsure, post again, but provide some more information.

--
jlr
http://jlamas.blogspot.com/[^]
GeneralMissing OnInitDialog() Pin
Robert Palma Jr.18-Jul-05 5:27
Robert Palma Jr.18-Jul-05 5:27 
GeneralRe: Missing OnInitDialog() Pin
Jose Lamas Rios18-Jul-05 5:53
Jose Lamas Rios18-Jul-05 5:53 
GeneralRe: Missing OnInitDialog() Pin
Robert Palma Jr.18-Jul-05 7:41
Robert Palma Jr.18-Jul-05 7:41 
GeneralRe: Missing OnInitDialog() Pin
Neelesh K J Jain18-Jul-05 6:45
Neelesh K J Jain18-Jul-05 6:45 
GeneralRe: Missing OnInitDialog() Pin
Robert Palma Jr.18-Jul-05 7:42
Robert Palma Jr.18-Jul-05 7:42 
Generaldrawing gradient dots or colored in mfc Pin
Assariah kingsly18-Jul-05 5:20
Assariah kingsly18-Jul-05 5:20 
GeneralRe: drawing gradient dots or colored in mfc Pin
Christian Graus18-Jul-05 13:05
protectorChristian Graus18-Jul-05 13:05 
GeneralMS Chart Pin
Marc Soleda18-Jul-05 5:13
Marc Soleda18-Jul-05 5:13 
GeneralBuilding error Pin
phpmb18-Jul-05 5:04
phpmb18-Jul-05 5:04 
GeneralRe: Building error Pin
Budric B.18-Jul-05 5:42
Budric B.18-Jul-05 5:42 
QuestionHow to Get Current Running No. Of Threads Pin
zinc_z18-Jul-05 4:48
zinc_z18-Jul-05 4:48 
AnswerRe: How to Get Current Running No. Of Threads Pin
Blake Miller18-Jul-05 5:26
Blake Miller18-Jul-05 5:26 
Generalerror C2146 in Visual C++ Pin
PapermillBill18-Jul-05 4:40
PapermillBill18-Jul-05 4:40 
GeneralRe: error C2146 in Visual C++ Pin
Jose Lamas Rios18-Jul-05 4:54
Jose Lamas Rios18-Jul-05 4:54 
GeneralRe: error C2146 in Visual C++ Pin
Anonymous18-Jul-05 7:10
Anonymous18-Jul-05 7:10 
GeneralRe: error C2146 in Visual C++ Pin
Jose Lamas Rios18-Jul-05 7:19
Jose Lamas Rios18-Jul-05 7:19 
GeneralRe: error C2146 in Visual C++ Pin
David Crow18-Jul-05 8:04
David Crow18-Jul-05 8:04 

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.