slap me silly and call me stupid
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
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.
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
Also: Please write informative subject titles!
- WitchLord
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement