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 2012(aka vc110) compatibility. Collapse All
Subject Author Date
Thomas Roeder Sep 13, 2012 - 2:54 PM

Hi Support,


I use the Prof-UIS MFC  GUI library. Since no project updates for upcomming Visual Studio 2012, could you tell how to get it compiled under VS2012.


During compilation of ProfUISDLL /MBCS Debug , I’m getting errors like:


1>  ExtToolControlBar.cpp

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(423): error C2039: ’CompareStringEx’ : is not a member of ’`global namespace’’

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(423): error C2065: ’LOCALE_NAME_INVARIANT’ : undeclared identifier

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(423): error C3861: ’CompareStringEx’: identifier not found

1>  ExtToolBoxWnd.cpp

1>  ExtRichContent.cpp

1>  ExtTabWnd.cpp

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(423): error C2039: ’CompareStringEx’ : is not a member of ’`global namespace’’

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(423): error C2065: ’LOCALE_NAME_INVARIANT’ : undeclared identifier

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\../src/mfc/AfxImpl.h(423): error C3861: ’CompareStringEx’: identifier not found




Could you explain how to fix this?


Thanks.

Vishnu Prasanth Feb 24, 2014 - 4:19 AM

This is a problem with Visual sudio 2012. You can solve it by Installing Visual studio update 4.0. It’s around 2GB. I’m curious what’s inside!

Alastair Watts Sep 22, 2012 - 11:46 AM

It seems Microsoft have bowed to public pressure and are now updating VC2012 with XP target support ... hopefully this will allow us to build Prof-UIS.

http://blogs.msdn.com/b/vcblog/archive/2012/06/15/10320645.aspx?PageIndex=1#comments

Piotr Tracz Dec 1, 2012 - 8:45 AM

Microsoft released a patch, which allows native XP targeting. Does it solves that compile problems?

Piotr Tracz Sep 14, 2012 - 9:25 AM

I know MS is working on patch to support XP. Try to change _WIN32_WINNT to 0x0600 which means VISTA

Thomas Roeder Sep 14, 2012 - 9:51 AM

No, it’s doesn’t works this way, since MS has changed the runtime libraries which support VS2012 it affected the MFC/ATL headers and this consequently requires changes in Prof-UIS source code.


The only way I’ve got the Prof-UIS compiled when I set in Visual Studio 2012 the "Platform Toolset" - Visual Studio 2010(v100).


i.e. for now I  use the Visual Studio 2010 VC++ compiler from within VS2012, untill MS will come with XP patch.


http://blogs.msdn.com/b/vcblog/archive/2012/06/15/10320645.aspx


http://blogs.msdn.com/b/vcblog/archive/2012/04/18/10295093.aspx


 

Thomas Roeder Sep 14, 2012 - 8:41 AM

Thanks for the partial answer. It looks like for now the Visual Studio 2012 do not support Windows XP clients, but I’m trying to compile the Prof-UIS MFC library under new Windows 8 OS.


Is there any way to fix the source code(if keep in mind it would be ran on Vista or high)?


This question is rather to Prof-UIS Tech. Support, and I guess not just me but others are interested in the answer.


It puts under question the further usability of the library.


 

Piotr Tracz Sep 14, 2012 - 4:00 AM

I think its related to target Windows version. VC11 doesnt support anything under Vista while ProfUIS does.


If you dont want to wait for support answer (which can take really really long as there seems to be some kind of problems with Foss Software), here is a hint:


social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/17e5f678-c9b2-448e-a66d-299ff1e9fec1