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 » Problem with customization Collapse All
Subject Author Date
Simon DESEE Aug 13, 2005 - 12:58 PM

I use ProfUIS 2.42.


I want to add customization functionnality to my application. But an error occurs at this line:


VERIFY(CExtCustomizeSite::MenuInfoAdd(this, _T("Default"), IDR_MAINFRAME, true, false));//, RUNTIME_CLASS(CMainFrame)));


I can read this on the output window:
Warning: Cannot load CExtCustomizeCmdTreeNode from archive.  Class not defined.
CArchive exception: badClass.


I found that there is no CExtCustomizeCmdTreeNode class on the CArchive object use by the extcustomize.cpp file at the line 2033:


CRuntimeClass * pRTC = ar.ReadClass();


Where can the problem come from ?


I use a menu bar and many toolbar. The menu bar has a combo box at the right of the menus and one of my toolbars has a combobox.


Thanks.

Technical Support Aug 13, 2005 - 1:17 PM

To help you, we need at least the following information:

1) Which version of Prof-UIS are you using (2.40 or 2.42)?

2) Which configuration of Prof-UIS is used in your project (ANSI, MBCS, or UNICODE)?

3) Whether you application SDI or MDI?

4) Whether your application run successfully at least once before the problem appeared?

Additionally we should note: if you can send us your project, please do this. The problem will be quickly pinpointed and fixed in this case. Otherwise,please send us the source of your main frame window, or, at least the main frame class declaration in the .H file and two methods in the .CPP file: OnCreate() and DestroyWindow().

Simon DESEE Aug 14, 2005 - 2:40 AM

Ok, I send to you a mail with this informations and source code.


Thanks.

Technical Support Aug 14, 2005 - 11:49 AM

Please send your project to support@prof-uis.com (received nothing from you yet (().