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 errors Collapse All
Subject Author Date
Soo Wei Tan Sep 1, 2006 - 11:51 AM

My application compiled fine yesterday, but now I’m having these weird errors whenever I try to compile. I don’t have any other platform SDKs on my system.

Compiling...
StdAfx.cpp
Prof-UIS multiple monitor support:
built-in
Automatically linking with Prof-UIS library: ProfUIS254md.lib
(Professional User Interface Suite)
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\transact.h(226) : error C2059: syntax error : ’constant’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\transact.h(271) : error C2143: syntax error : missing ’;’ before ’}’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oledb.h(17149) : error C2143: syntax error : missing ’;’ before ’}’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oledb.h(17149) : error C2143: syntax error : missing ’;’ before ’}’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oledb.h(17149) : error C2143: syntax error : missing ’;’ before ’}’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(895) : error C2061: syntax error : identifier ’DBCOUNTITEM’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(1366) : error C2061: syntax error : identifier ’DBCOUNTITEM’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(1397) : error C2061: syntax error : identifier ’DBCOUNTITEM’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(1428) : error C2061: syntax error : identifier ’DBCOUNTITEM’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(1973) : error C2061: syntax error : identifier ’DBORDINAL’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(2180) : error C2061: syntax error : identifier ’DBORDINAL’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(3806) : error C2061: syntax error : identifier ’DBORDINAL’
C:\WINDDK\2600.1106\INC\CRT\atldbcli.h(3816) : error C2061: syntax error : identifier ’DBCOUNTITEM’

Soo Wei Tan Sep 6, 2006 - 12:58 PM

Hmmm I guess I’ll just have to build parts of the app, then move the WINDDK folders down and compile the rest of it.

Soo Wei Tan Sep 5, 2006 - 1:21 PM

That does appear to be the problem. Is there another way of compiling successfully with the WINDDK folders on top? Our development enviroment requires them to be above the VC98 includes.

Soo Wei Tan Sep 5, 2006 - 10:12 AM

Neither do I :)

Here is my include folder list:
C:\WINDDK\2600.1106\INC\CRT
C:\WINDDK\2600.1106\INC\WXP
C:\WINDDK\2600.1106\INC\DDK\WXP
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
C:\Program Files\FOSS Software Inc\Prof-UIS trial\Include

It is unlikely someone changed any settings, I am the only one who has access to the machine.

Technical Support Sep 5, 2006 - 12:05 PM

We guess the WINDDK folders should be moved to the bottom:

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
C:\WINDDK\2600.1106\INC\CRT
C:\WINDDK\2600.1106\INC\WXP
C:\WINDDK\2600.1106\INC\DDK\WXP
C:\Program Files\FOSS Software Inc\Prof-UIS trial\Include


Technical Support Sep 3, 2006 - 1:20 PM

We do not believe in magic. There may be somebody who changed something on your computer, like Visual Studio settings (e.g. the list of include folders). Would you let us take a look at the Include folders list?