Archived

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

DirectX compilation problem

This topic is 5234 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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