How To Set Up MVC Compiler For Working With DirectDraw
Microsoft Visual Studio (MVC 6) Direct Draw Compiler Setup
Note: (Update June 19th 2014) This is old compiler setup. The Microsoft Visual Studio Express has similar controls, but they are probably located elsewhere in properties. Microsoft has changed their software since the times this tutorial has been written. But the process remains pretty much the same. Just add the following libraries to proper fields in MVC's settings or project properties.
To setup your MVC compiler to work with DirectDraw (the last 5 steps are general for setting up DirectX as a whole) you will need to do the following:Make sure you have DirectX SDK installed on your computer (Please Google DirectX SDK, as Microsoft keeps changing its URL location over the years.)
The rest of the steps below is assumung you have installed the SDK to its default path c:\mssdk
Create a new Win32 app, open Project|Settings... on the menu
Open the Link tab and in the Object/library modules box add two more .lib files: ddraw.lib dxguid.lib, Click OK
Open up the Options window by going to Tools|Options... on the menu and click the Directories tab
Select Include files from the Show directories for menu
Add C:\mssdk\include to the Directories box and make sure it is first on the list by dragging it up.
Select Library files from the Show directories for menu
Add C:\mssdk\lib to the Directories box and make sure it is located first on the list and click OK
Your compiler should now be ready for DirectDraw programming.
External Links to Visual Studio:
MSDN: Microsoft Visual Studio
About Microsoft Visual Studio
© 2015 OpenGL Tutorials.
Built with Tornado PHP Framework with template | Web design by Web Design by Greg.