Problems, need help!

Started by
4 comments, last by mrsticks 23 years, 1 month ago
I have Borland C++ 5.02 and I have been trying to compile and link a directx8 project. I keep getting a unresolved error with ''Direct3dCreate8''. What do I have to do in order to link a directx8 project within a borland compiler. Just a note: I tried including the d3d8.lib but that also gave me an error as well. MrSticks
MrSticks
Advertisement
I''m not sure if the information you provided is sufficient to locate the problem... maybe you are simply trying to Create a Device context that your card does not support (like Windowed mode for some 3D accelerator cards) or maybe some bit-mode not supported by your hardware.

Ofcoz... maybe you simply have programming errors somewhere.

Or some general incompatibility.

A-Lore
LoreKeeper:
maybe you are simply trying to Create a Device context that your card does not support

I doubt if that''s the problem becasue the project hasn''t been linked.

I''ve had these kinds of errors before and I think a
#define INITGUID
after you included the DirectX headers should work.

I can''t think of other solutions. Hope it works.
This is my exact error that I get.

Error: Unresolved external ''Direct3DCreate8'' referenced from C:\DIRECTX_PROJECTS\C++\DIRECTX2\SAMPLE.OBJ

Please help.

MrSticks
MrSticks
Yes, of course do you get an unresolved error if you are not linking to d3d8.lib!

Here can you get Borland compatible libs:
http://www.geocities.com/foetsch/

Or less complete but with source files:
http://sites.netscape.net/ptrpck/borland.htm
Thank you!
MrSticks

This topic is closed to new replies.

Advertisement