Archived

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

GameGuy

DirectX SDK Help

Recommended Posts

Guest Anonymous Poster
Please Someone help me, I don't know how to install the directX 5 sdk to Visual C++ 6.0 and can't game program with directX without this info.

Thanks A Bunch

Share this post


Link to post
Share on other sites
Guest Anonymous Poster

Geez!! Someone help me already! Its a dumb simple problem for you game programmers! Help a newbie out...

Thanks a bunch

Share this post


Link to post
Share on other sites
You seem to be pretty impatient little man. As I always say... If you can't install the SDK then get out of the gaming business! (or something like that).

I will help you anyways. Click on setup.exe. Then read the documentation.

[This message has been edited by Gromit (edited December 19, 1999).]

Share this post


Link to post
Share on other sites
Oh, I also forgot. Add the SDK lib and include paths in to your VC++ include and lib directories. But make sure that you move them to the top of the list.

Then read the documentation.

Share this post


Link to post
Share on other sites
In VC++ 6, go to Tools->Options, Directories Tab. You can set the various directories here, and change which type of directory (include, execution, library, source) with the pull down box titled "Show Directories for:". Just set the directories as needed. Ex: for the DX libs, c:\dxdirectory\lib or something like that.

Kevin

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I am getting really frustrated. I set the right paths, installed the DirectX sdk and when I try to make a program, something wrong happens. It compiled fine, but when I tried to link it, I got a error message, it was

Prog10_1.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12

Have you ever had this problem?

[This message has been edited by GameGuy (edited December 19, 1999).]

Share this post


Link to post
Share on other sites
Hell my standard edition didn't even come with a real "manual". Just some "learn how to prog VC++" by Ivan Horton. SInce then though I've accumulated quite a stack of printouts from the SDK.

------------------
Still Learning...

Share this post


Link to post
Share on other sites
All right already.
Add #define INITGUID above #include "stdafx.h" (if using MFC) and make sure you have dxguid.lib in the Object/library modules line in Project Settings->Link. I'm not sure what your programming, but if your not using MFC, stick #define INITGUID as the first line in your main.c or whatever. If this doesn't help, make sure your lib directory path is pointing to the location where the dx lib files are on your system as stated countless times in previous posts.

------------------
--Shannon Schlomer, BLAZE Technologies, Inc.

Share this post


Link to post
Share on other sites
I shall express my thoughts in the form of a haiku...

You want to make games,
You can't even use VC,
Quit while you're ahead.

Or another:

If you want to code,
Learn how to use a linker,
It would help a lot.

NOTE: This is all in good humor, don't hate me. :]

Share this post


Link to post
Share on other sites