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 Tech Support » ASSERT in map_cc.cpp Collapse All
Subject Author Date
Thomas Aust Mar 2, 2006 - 9:39 AM

I build a MDI-Application with the Prof-UIS-Wizzard (all standard except "linking with MFC static Lib")
When I try to execute I get the following ASSERT:

map_pp.cpp
Line 215

Starting point for this exception is the cunstructor of CExtPopupMenuSite
line 138 in extpopupmenuwnd.cpp

CExtPopupMenuSite CExtPopupMenuSite::g_DefPopupMenuSite;

Any idea...

Technical Support Mar 3, 2006 - 8:29 AM

There is not enough information in your message to fing out what’s wrong with the code. We need to know which version of Prof-UIS and which Visual Studio you are using? Of course, it will be of great help if you will send this project to us.

Please note that if you are using Prof-UIS 2.52 and a static configuration, then you need to include the following line in your *.rc2 file:

/////////////////////////////////////////////////////////////////////////////
// Add manually edited resources here...
 
#if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) )
 #include <Resources/Resource.rc>
#endif
The static linking is described in the FAQ How to link statically with Prof-UIS?.

Thomas Aust Mar 6, 2006 - 2:45 AM

Thanks, problem solved