Sign in to follow this  
Plasmarobo

MPSDK, VC2005, and DirectX

Recommended Posts

I have VC 2005 and I belive that it is setup with the MS Platform SDK correctly. I also have Direct X 9.0 setup correctly. However, under Win32 options all I have is the Win32 consol. Is this correct? Should I have more project/compile as options? I also have no Direct X type things. Which I would assume is normal, except for the fact that my crappy Visual C++ 6.0 does. I don't know what to do. Will a Win32 consol compile as a win32 application? Do I need to reinstall the SDK? Should I get MS VC++2003? Thank you for helping me out here.... (Oh, I do have Windows form Application, if that is the equivilent)

Share this post


Link to post
Share on other sites
I installed the PSDK correctly, and only have the console icon as well. However, if you start a project with this icon, when you get to page 2 ("Application Type"), there should be a radio box for you to select "Win32 Application" (assumming you followed all instructions correctly on the MSDN installation page, there are a few files you need to edit besides just running the PSDK installer). Check this to create a standard Win32 Application, with menus, windows, etc. (though you can also create a Win32 App by including windows.h and linking to all necessary libs).

Share this post


Link to post
Share on other sites
If I just link Visual C++ 2005 to the librarys under projects and solutions in the options section will I have to include them in the h file and cpp file? If I do, how? Do I jsut use #include<d3d9x.lib> or whatever?

Share this post


Link to post
Share on other sites
Quote:
Original post by Plasmarobo
But wha about Direct X? Is there some icon I should see?
There used to be, but not any more.

If you want a "skeleton" project to start from, fire up the DirectX SDK Sample Browser and find the 'EmptyProject' sample. Hit "Install Project" and save it to where you want your new skeleton project to be; then open it up in Visual Studio. I think it sets up a window and Direct3D device for you; everything else is up to you.

Share this post


Link to post
Share on other sites

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