i have downloaded the sdk directx9 and installed and put the lib and include files in the dev-c++ directory.
I have adjusted the compiler options and I still get 100 errors.
e.g redefinition of struct D3DVECTOR
and C\devcpp\...\d3d9.h, in file included from C\devcpp\...\d3d9.h

any ideas???

i have downloaded the sdk directx9 and installed and put the lib and include files in the dev-c++ directory.

The files don't go in the same directory. Include files go in $DEVCPPDIR/include and library files in $DEVCPPDIR/lib (I think).

e.g redefinition of struct D3DVECTOR

You must have some other version of DirectX, too, which would mess you up. Make sure you only have one version.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.