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 cmdtarg.cpp Collapse All
Subject Author Date
glenn kronick Oct 4, 2006 - 3:52 PM

I’m getting an assert in cmdtarg.cpp when trying to click on the menu bar. I think this might be a resource issue. Any ideas?

Suhai Gyorgy Oct 5, 2006 - 1:54 AM

If you link Prof-UIS statically to your application, you need to include Prof-UIS resources as well. You can do that by adding the following lines to your application’s .rc2 file:

#if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) )
	#include <Resources/Resource.rc>
#endif
To find out more, read the article How to link statically with Prof-UIS?

I hope that helps.