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 » Prof-UIS 2.30 static libs build error Collapse All
Subject Author Date
Thomas Fuchs Feb 21, 2005 - 6:47 AM

Hello there,


I just downloaded and installed the latest version 2.30 (after properly uninstalling version 2.27 before). None of the static versions (no matter if ANSI/MBCS/Unicode and no matter if Debug/Release) will successfully build on .NET 2003.


In each case the compiler reports error C2065 at line 10329 in ExtToolControlBar.cpp : 

CExtPopupUndoRedoMenuWnd * pPopup = new CExtPopupUndoRedoMenuWnd;


-> CExtPopupUndoRedoMenuWnd not declared


The build of each none-static version, however, succeeds (except for the Unicode versions, it reports a warning C4005 that the "UNICODE" macro has been re-defined in ExtSplitterWnd.cpp(23) and ExtPageNavigatorWnd.cpp(23) ... )


Any suggestions?

Thanks,
Thomas

Technical Support Feb 21, 2005 - 8:34 AM

Dear Thomas

Thank you for the bug information! To fix the problem, please find the following code snippet at the top of the ExtToolControlBar.cpp file:

#if (!defined __EXT_MFC_NO_CUSTOMIZE)
   #if (!defined __EXT_POPUP_CTRL_MENU_H)
      #include <ExtPopupCtrlMenu.h>
   #endif
#endif // (!defined __EXT_MFC_NO_CUSTOMIZE) 
and replace it with
#if (!defined __EXT_POPUP_CTRL_MENU_H) 
   #include <ExtPopupCtrlMenu.h>
#endif
Then recompile the library. This bug should not bother you anymore.

Thomas Fuchs Feb 21, 2005 - 9:28 AM

... your advise has fixed the problem.

Great and prompt support, just as usual :-)


Thanx again,
Thomas