DirectDrawCreate

Hi there,

I have some serious problem using the function DirectDrawCreate. I always get the same linker-error: "undefined reference to DirectDrawCreate@12".
I included ddraw.h and linked libddraw.a without succes.
I also tried to make devc link the library by checking project-options>files> and clicking "link in compilation". But I get the following error: build error 255

I searched the internet for information and all I discovered was that everyone has problems when they to use directx in devcpp. Is there anyone who can help me?

Thanks in advance
Topic archived. No new replies allowed.