"Jochen Kalmbach [MVP]" <no********************@holzma.de> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Which edition are you using? If you are using Expess, the PSDK does not
ship with that version. You can download the latest version from
http://www.microsoft.com/downloads/d...displaylang=en
And you should be aware of the fact that you can´t add the directiries in
the settings... :-)
So please look at the following thread:
http://forums.microsoft.com/msdn/Sho...px?PostID=2995
Neither of which would be consistent with the OPs statement that it compiles
with /clr:oldSyntax but not with /clr (new syntax).
To the OP: you're running afoul of the fact that 'interface struct' is now a
"spaced keyword" in C++/CLI, while it's a #define in existing PSDK header
files (the PSDK is supposed to be fixed by the time VC 2005 goes to RTM, if
I recall correctly).
Find the point in the PSDK header files where
#define interface struct
appears and replace it with
#define interface intr
#define intr struct
or something equivalent (just prevent 'interface' and 'struct' from being
adjacent with only whitespace intervening).
-cd