DirectX SDK Help

Started by
15 comments, last by GameGuy 24 years, 3 months ago
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).]

Advertisement
LOL.
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...

Still Learning...
include ddraw.lib. You should be opening the examples as projects also.
William Reiach - Human Extrodinaire

Marlene and Me


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.

--Shannon Schlomer, BLAZE Technologies, Inc.
Please could someone help me. I don't know how to install the directX sdk to Microsoft Visual C++ 6.0.

Thanks a bunch

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. :]

This topic is closed to new replies.

Advertisement