Archived

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

mrsticks

Problems, need help!

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
This is my exact error that I get.

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

Please help.

MrSticks

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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

Share this post


Link to post
Share on other sites