MPSDK, VC2005, and DirectX
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)
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).
Thanks, I see it now. But wha about Direct X? Is there some icon I should see? Or should I just using Include to make a direct X project? (Well, I would using include anyway...)
I've never seen a directX type, I usually just make a win32 project and include the proper libs and headers for DX.
Cheers
Chris
Cheers
Chris
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?
No, only header files are brought in with #include.
You can use #pragma for libs, but it would be better to just enter your libs in the Linker -> Input portion of the Project Properties menu.
You can use #pragma for libs, but it would be better to just enter your libs in the Linker -> Input portion of the Project Properties menu.
Quote:Original post by PlasmaroboThere used to be, but not any more.
But wha about Direct X? Is there some icon I should see?
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement