Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

duckbob

slap me silly and call me stupid

This topic is 6547 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

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!