CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Debug Assertion Failed Message: not yet solved

  1. #1
    Join Date
    Jun 1999

    Debug Assertion Failed Message: not yet solved

    I am getting a run time error in the following code. The error is occurring at the point where I am trying to add the page to property sheet.

    Can somebody help me with that?

    void CPropPageTextView::OnMenuMenuitem()
    // TODO: Add your command handler code here
    CMainDlg dlgM(_T("Tabbed Options"), this);
    CColorDialog dlgC;
    CSizeDlg dlgS;
    CTextDlg dlgT;

    dlgM.AddPage((CPropertyPage*) &dlgC);



  2. #2
    Join Date
    Mar 2002
    St. Petersburg, Florida, USA
    I am very curious as to why you are making the cast.....
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)