Archived

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

rhide

DirectX compilation problem

Recommended Posts

rhide    122
I''m using the latest version of Dev-C++, and I have a SERIOUS problem when I compile DirectDraw programs. I have included ddraw.h and ddraw.lib and when I compile I get a linker error: [Linker Error] DirectDrawCreate, undefined reference or something like that, anyways, my compiler cant find the DirectDrawCreate function!! please help me !! The hackers must have gotten into the system through the hyperlink !!

Share this post


Link to post
Share on other sites
CloudNine    224
Try downloading the DirectX 8 SDK from the Dev C++ site. With any luck, they'll still have the direct draw files. Remember to link to the libaries and put

-fvtable thunks


in the C++ compiler options.

[edited by - CloudNine on August 15, 2003 10:21:40 AM]

Share this post


Link to post
Share on other sites