Advertisement

DirectDrawCreateEx Link Error

Started by August 12, 2000 11:47 AM
6 comments, last by ImmaGNUman 24 years, 4 months ago
Well, I just rewrote my future game''s shell alittle to be compatable with DD7, and when I try to link it, I get the following: main.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16 Debug/Isometric.exe : fatal error LNK1120: 1 unresolved externals Anyway, I tried everything I could think of. I have included ddraw.h of course, and it would link fine under DD2s interface with DirectDrawCreate. Anyone have any ideas? ----------------------------- A wise man once said "A person with half a clue is more dangerous than a person with or without one."
-----------------------------A wise man once said "A person with half a clue is more dangerous than a person with or without one."The Micro$haft BSOD T-Shirt
make sure you have added ddraw.lib and dxguid.lib library files to your project
Advertisement
Don''t double-post threads, even if they are in different forums!



========
Smidge
www.smidge-tech.co.uk
========
--Mr Smidge
Make sure your directx sdk include and lib directories are at the TOP of your include and lib file search directories. For some obscure and ridiculous reason MSVC++ has DirectX 3 sdk with it, and that''s header and lib directories are at the top of the list. So move c:\%mssdk%\lib and c:\%mssdk%\include to the top of the list, where %mssdk% is your directx sdk installation directory

------------------------------
#pragma twice
Hi,
quote:
smidge_tech:
Don't double-post threads, even if they are in different forums!


Why shouldn't one be allowed to post the same question in different forums? I don't think every openGL-programmer goes through every post in isometric-forum, for instance.

And a question might relate to more than one forum, and one can thus get better answers when posting to different "experts".

Btw, If one aren't allowed to double-post, is it ok to multi-post??

/Mankind gave birth to God.

Edited by - DDnewbie on August 14, 2000 10:22:58 AM
/Mankind gave birth to God.
It's considered bad style to post the same question in different fora, it's LIKE WRITING IN ALL CAPS or posting HTML messages to mailing lists. It also takes up unnecessary space on the server.

If it applies to two fora, split the question into two questions and post them in the correct fora.

>> I don't think every openGL-programmer goes through every post in isometric-forum, for instance. <<

What does that have to do with it?? Why would you want to post OpenGL questions in the isometric forum??? OpenGL questions go in the OpenGL forum, isometric questions go in the isometric forum. It's that simple.

Edited by - Muzzafarath on August 14, 2000 2:02:42 PM
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
Advertisement
Hej,

[swedish]
Lugna ner dig lite va!!
[/swedish]
Maybe a qustion like this belongs to both forums (iso/opGL).

"How many triangles and what features (gour-shade, triline...) shall I aim for when I develop my little game?"

The isometric guys might know what looks good and the lower limit of features (in order to get a nice scene). On the other hand, the opGL guys know what features one might skip and what features to implement. They also might know a few tricks to get a fast isometric scene.

For instance.

/Mankind gave birth to God.
/Mankind gave birth to God.
I deleted the other thread a while ago. In fact I solved my problem already.

-----------------------------

A wise man once said "A person with half a clue is more dangerous than a person with or without one."
-----------------------------A wise man once said "A person with half a clue is more dangerous than a person with or without one."The Micro$haft BSOD T-Shirt

This topic is closed to new replies.

Advertisement