Hi,
I've downloaded the February DX SDK from the MS site.
When I try to compile the samples (all) I get the errors:
error C2061: syntax error : identifier '__in'
error C2059: syntax error : ')'
This error is on the D3D10.h file.
It seems that something is missing. I'm compiling in VS 2003.
Any ideas

Compile error on DX9/10 Samples
Michael Maes
We take all that time to create a README file...and yet I still have to repost portions of the README in the forums...
mohsan
ltaylor934
This is a know problem with Visual Studio 2003. If I remember correctly there a two possible solutions for this.
1. Download and install the newest Windows SDK.
2. Define __in as nothing before you include the DirectX headers.
SolidStrategies
http://www.microsoft.com/downloads/details.aspx FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
After that installed, there's a start menu item Visual Studio Registration -> Register PSDK... builds worked after that.
huzzy
Thank you
Darlek
Hi All,
This is very urgent please help me immediately.
I am getting the major compiler error C2061 in Visual Studio 2003 on Vista OS
I have installed the SDK for the Vista Build 5472. This SDK installed aske me for installation of teh visual studio Express. Also i have installed the same. When i build my application VS 2003 i am getting the C2061 error. Also i have done the SDK registrationon Vista OS bu running the "Register Windows SDK Directories with VS 2005" application.
This application will compile fine in VS 2005 but not in 2003 .
Please help me this is very urgent.
-Vivek