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 » Visual Studio 2005/MFC 8.0 support Collapse All
Subject Author Date
John Smith May 20, 2005 - 10:39 PM

I downloaded the free v2.30 for testing with Visual Studio 2005 Beta 2. There is a ProfUIS_800.sln workspace so I assume this is meant to be used with VS 2005? I cannot compile the DLL or lib due a lot of compiler errors and warnings. After manually fixing a lot of compiler errors (related to casting UINT as LRESULT), I was able to build a VS2005 project that uses CExtToolbar. Although the app runs, none of the icons show up on the toolbar. I’m wondering if you are supporting VS 2005 Beta 2 at this time and if it is possible to build working MFC 8.0 apps with ProfUIS? We are starting to port all our old code to MFC 8.0 so it would be nice to use components that are compatible with VS 2005. Thanks.

Technical Support May 23, 2005 - 7:01 AM

Prof-UIS 2.33 (the next intermediate) will be compatible with Visual Studio 2005 Beta 2.

Demetrius Cassidy May 21, 2005 - 9:37 PM

Turn off "Force Conformance to Local Scope". You can only compile 2.30 with it set to No (/Zc:forScope-). It’s set to ’Yes’ by default in VS8. After that you will get a few compiler errors about VS8 not supporting ’default int’, just make all those have a type of int and your all set.

Been using Prof-UIS freeware with no problems after compiling the dll/lib projects in Beta2. But other than the above, you can wait for the next release version, which (I think) will fix all of these issues, or atleast thats what ive understood with my past emails to support.

John Smith May 21, 2005 - 10:46 PM

Thanks for the info. Did you have any trouble with toolbar images? The images are not showing up on any of the toolbar buttons. I have not modified any images either, they are just the default built-in images for File > New, File > Save etc. Is this a VS 2005 Beta 2 issue or am I doing something wrong with the CExtToolbar implementation?

John Smith May 21, 2005 - 11:38 PM

Nevermind the toolbar images issue. I found the problem. I was following the instructions provided at http://www.prof-uis.com/ArticleRead.aspx?AID=220. I wasn’t calling the g_CmdManager->ProfileSetup before creating the toolbar. Problem solved!