Sign in to follow this  

DirectX aug 2007 with MSVC++ 2010

This topic is 2792 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone, I was working fine with dx aug 2007 on VS 2008 express, but, as 2010 looks much more impressive, i downloaded it, but it looks like there are some problems using dx aug 2007 with it, im getting the following errors: 1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11280): error C2061: syntax error : identifier '__RPC__out_xcount_part' 1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11281): error C2059: syntax error : ')' 1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11281): fatal error C1903: unable to recover from previous error(s); stopping compilation so i googled it, they said that its because vc is using some headers that comes with it, instead of the new vc headers (a mistake in the include path), so i uninstalled them both, then installed vc2010, and dx after it, and still getting the same errors, is it even possible to use dx aug 2007 with vc2010? if so, how is it done? Thanks. -Hassan.

Share this post


Link to post
Share on other sites
Quote:
Original post by Evil Steve
Read This (The black arrows change priority).

Also, I wouldn't be surprised if the SDK doesn't work with VS 2010 - it's 3 years old after all. Why not get the latest SDK instead?


well, i sometimes do some projects with another directx wrapper, that uses aug 2007 release, so i prefer to use the same release for both, the engine and my dx projects

also, @ your link, it shows the way to do it in vs2080, its slightly different in vs2010

Share this post


Link to post
Share on other sites
Quote:
Original post by Hassanbasil
well, i sometimes do some projects with another directx wrapper, that uses aug 2007 release, so i prefer to use the same release for both, the engine and my dx projects
All the same, I'd recommend trying the latest SDK if you get a chance; some things just don't work (Try using the Aug 2007 SDK with VC 6.0 for instance).

Quote:
Original post by Hassanbasil
also, @ your link, it shows the way to do it in vs2080, its slightly different in vs2010
Are you looking in Tools menu -> Options, Projects and Solutions -> VC++ Directories? Or are you looking in the project settings? VC2008 should be very similar to VC2010.

Share this post


Link to post
Share on other sites
Quote:
Original post by Evil Steve
Are you looking in Tools menu -> Options, Projects and Solutions -> VC++ Directories? Or are you looking in the project settings? VC2008 should be very similar to VC2010.


vs2010 tools -> options -> VC++ Directories:
"VC++ Directories editing in Tools > Options has been deprecated.

VC++ Directories are now available as a user property sheer that is added by default to
all projects. Please click '?' for more information."

and how this page look like, is in the image i linked above, i can't change the windows sdk paths because they are inherited, or something like that.

as far as i remember, i tried dx 2008 release, and it didnt work with that engine, i will try again with the feb 2010 anyway.


Well, if im going to change the sdk, i might also switch to dx10, or 11, but i shall ask: is dx11 stuff MUCH different than 9, that i should like re-write the whole dx9 project?

Share this post


Link to post
Share on other sites
Quote:
Original post by Hassanbasil
VC++ Directories are now available as a user property sheer that is added by default to
all projects. Please click '?' for more information.
Ah, interesting - I really need to get VS2010 installed...

Quote:
Original post by Hassanbasil
Well, if im going to change the sdk, i might also switch to dx10, or 11, but i shall ask: is dx11 stuff MUCH different than 9, that i should like re-write the whole dx9 project?
Yes, DX10 and DX11 are quite different from DX9. You can still use DX9 with the latest SDK of course.

Share this post


Link to post
Share on other sites
Wait till The June 2010 DirectX SDK includes support for Visual Studio 2010. The DirectX SDK will continue to support Visual Studio 2008 as well. However, Visual Studio 2005 will no longer be supported.
I have VS2010 installed but haven't even tried using DX with it since it's not officially supported yet so I doubt an older SDK would work.

Share this post


Link to post
Share on other sites
Quote:
Original post by daviangel
Wait till The June 2010 DirectX SDK includes support for Visual Studio 2010. The DirectX SDK will continue to support Visual Studio 2008 as well. However, Visual Studio 2005 will no longer be supported.
I have VS2010 installed but haven't even tried using DX with it since it's not officially supported yet so I doubt an older SDK would work.


Just in case anyone was wondering the most recent SDK DOES work with VS2010 as I was doing DX11 work with it this weekend and the SDK directories are the first ones on my project's include list.

Note: I was doing D3D11 work, not D3D9, so there is an outside chance that the D3D9 headers won't work still.

Share this post


Link to post
Share on other sites

This topic is 2792 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this