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 » Compilation Error Collapse All
Subject Author Date
Shailesh Nikam Feb 21, 2007 - 4:14 AM

Hi,

I have installed prof-uis 2.62 on my machine. Then inorder to write new features in my application I tried to include
#include <prof-uis.h> in my stdafx.h file. When I compiled the program I’m getting following errors. But these errors are not coming for sample application. Can you tell me how to resolve these errors. Is there anything like registry entry that is missing which is causing this problem?

Automatically linking with Prof-UIS library: ProfUIS262u.lib

(Professional User Interface Suite)

Prof-UIS native unicode character type support:

disabled (symbol __EXT_MFC_ENABLE_TEMPLATED_CHARS is not defined)

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(35) : error C2011: ’IDataSourceListener’ : ’struct’ type redefinition

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(35) : see declaration of ’IDataSourceListener’

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(43) : error C2011: ’IDataSource’ : ’struct’ type redefinition

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(43) : see declaration of ’IDataSource’

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(59) : error C2011: ’CDataSourceControl’ : ’class’ type redefinition

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(59) : see declaration of ’CDataSourceControl’

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(111) : error C2011: ’CDataBoundProperty’ : ’class’ type redefinition

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\occimpl.h(111) : see declaration of ’CDataBoundProperty’

c:\Program Files\FOSS Software Inc\Prof-UIS\Include\ExtColorDlg.h(86) : fatal error C1903: unable to recover from previous error(s); stopping compilation



Technical Support Feb 22, 2007 - 4:45 AM

Please also check if a newer SDK and/or DDK is installed on your computer. Please check the Include folder list in your Visual Studio settings. Make sure that the Platform SDK paths are at the bottom of the list and default Visual C++ folders are above them. If this does not help, let us take a look at the content of your StdAfx.h file.

Suhai Gyorgy Feb 22, 2007 - 2:51 AM

Just a guess, which might not be what you need: There’s an article Compatibility with Built-In Unicode Character Type. It’s a quite long article, it tells a lot of things, but also this: both ProfUIS lib and your application has to have the same project setting for "Treat w_char as Built-in type". So check this in your case.