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 Collapse All
Subject Author Date
x p Mar 19, 2008 - 8:18 AM

Dear sir or madam
I am a green hand of prof-uis. I have downloaded profuis282_freeware.zip and compiled all profuisdll successfully. I use profuis appwizard create a default project . When I run the project , I get
--------------------Configuration: test2 - Win32 Debug--------------------
Compiling...
MainFrm.cpp
E:\test\test2\MainFrm.cpp(404) : error C2039: ’FrameInjectAutoHideAreas’ : is not a member of ’CExtControlBar’
e:\prof-uis\include\extcontrolbar.h(719) : see declaration of ’CExtControlBar’
E:\test\test2\MainFrm.cpp(404) : error C2065: ’FrameInjectAutoHideAreas’ : undeclared identifier
Error executing cl.exe.

test2.exe - 2 error(s), 0 warning(s)
I get an answer from internet that is because autohide feature for resizable control bars is available only in the commercial version
so I delete this lines from code:

// Enable autohide feature for resizable control bars
if(!CExtControlBar::FrameInjectAutoHideAreas(this) )
{
ASSERT( FALSE ); return -1;
}
Then I can compile successfully, but when I run the program, "debug assertion failed" happened.

debug assertion failed
program: E:\test\test2\debug\test2.exe
file:E:\prof-uis\src\ExtCmdManager.cpp
line:5959
....

I don’t know why, wish someone could help me. I use vc6.0 sp6, winXP.
thanks

Technical Support Mar 21, 2008 - 1:41 PM

Yes, you are right. This feature is not present in the freeware version.
As for the ASSERT, we need to take a look at the entire call stack or have your project to test it on our side.