Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Debug Assertion Failed Problem Collapse All
Subject Author Date
Bum Ki Min Jul 15, 2008 - 9:32 AM

I tried to apply CExtPaintManagerOffice2007_Black theme to my program, but it doesn’t work!


I made variable "CExtMenuControlBar m_wndMenuBar" at CMainFrame and add following code at CMainFrame::OnCreate()


if(!m_wndMenuBar.Create(

    NULL,

    this,

    IDR_MAINFRAME

    ))

 {

    TRACE0("Failed to create menubar\n");

    return -1;

 }

g_PaintManager.InstallPaintManager( RUNTIME_CLASS(CExtPaintManagerOffice2007_Black) );


It compiled well, but execution made "Debug Assertion Failed" Message. (at ExtMenuControlBar.cpp on line 1280)


However, if I just add g_PaintManager.InstallPaintManager( RUNTIME_CLASS(CExtPaintManagerOffice2007_Black) );, it does work!


What’s the problem?


Thanks,

Bum Ki Min

Technical Support Jul 19, 2008 - 12:17 PM

Please provide us with more information about your project. Which version of Prof-UIS is used in it? Which static or DLL configuration of Prof-UIS? You can also send it to us (support mail box at this web site) and we will check it.