First of all, many thanks for all of your help!
The problem is resolved now. In one of my earlier posts I stated
that I have checked the project settings for the preprocessor, including
the option 'Inherit from project defaults'. This is true but I missed to
check
this option for _each_ sourcefile in my project, which in the end reveald
the
error: sourcefiles generating the 'WINVER not defined' message all had
the option 'Inherit from project defaults' _not_ checked and therefore the
preprocessor settings (including WINVER=0x0500 of course) were overwritten
'localy' for those sourcefiles.
Deleting all 'local' preprocessor settings and setting the 'Inherit from
project defaults'
option for those sourcefiles resolved the problem.
Either these settings have never been correct or there must have been some
change when I moved from VC6 to VC.NET.
again many thanks for your help, Felix
"Felix" <fb@ltec.ch> wrote in message news:46************@individual.net...
Hello,
Using someting like #define WINVER 0x0500 in a header file works
perfect, i.e. the preprocessor sees the definition. But I would like to
set WINVER in the IDE (Properties -> C/C++ -> Preprocessor -> Preprocessor
Definitions).
Doing this the symbol seems not to get defined and the preprocessor sets
WINVER to a default value of 0x0501.
Defining a symbol MY_TEST in the IDE shows the same problem: it's
simply not seen as defined by the preprocessor.
Any idea what's wrong ?
Many thanks Felix
PS: Im am using Visual Studio .NET 2003