slap me silly and call me stupid

Started by
4 comments, last by duckbob 23 years, 10 months ago
ok, this sounds really bad on my part...how do i configure VC++6 so that i can compile any dx7 source...i have found many sets of instructions on setting everything up but compiling any source that uses dx7 i find that a bunch of things just don''t work. a very desperate guy who just wants to make a spining cube or somthing but can''t because he is too gimp alex
Advertisement
Have you tried this?

In the "Link" section of the project settings make sure you have
the following files included:

ddraw.lib and dxguid.lib

And at the top of your main source file make sure you have this
line:

#define INITGUID

I hope this helped.
Here''s the instructions: Preparing for Compilation of DirectX programs with Visual C++


Also: Please write informative subject titles!

- WitchLord

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

jocke is correct except that I don't think that you have to define INITGUID if you link with dxguid.lib.
I could be wrong though.

If you don't know how to include the library files in your project do this:

Point to Tools on the menu.
From there choose Options.
Find the tab called Directories.
Create a new search path and that path should be to the place where the directx library files are (yoursdkfolder\lib).
Create it and don't forget to drag the new path to the top of search paths.
Now do what jocke said.

[edit]
Oops didn't read Witchlords answer.
[/edit]

Edited by - Mr Cucumber on June 21, 2000 11:16:39 AM
wahoo!
i just needed to add the #define INITGUID part
i wish that would of been included in the sdk docs...coulda helped
thanks ya''ll and sorry for the odd subject...it got attention didn''t it?

alex
It is in the docs.

------------------------------
#pragma twice

This topic is closed to new replies.

Advertisement