Please Help with Beginning DirectX Programming
I am starting to use DirectX, and I get the code and all, but the problem is that I really don't know how to add the libraries to my compiler. Right now I am using Microsoft Visual C++ 6.0 Standad Edition. Right now I am in DirectDraw, as we all know, the .lib is called ddraw.lib . I really don't know how really to add it. I just know one way to add the files,but it doesn't really work. I think you go to Project->Add Files, from there I add the library and the header file "ddraw.h". Yet when I compile, I recieve 3 errors. It tells me that it doesn't recognize the DirectObject of Direct Draw Interface 4 of DirectX 6.0. Microsoft C++ has a built in DirectX 3.0, that's why I recieved only 3 errors and not a gazillion. Can someone help me?? Please. I have read on other tutorials that you go to Project->Settings then go to linker, and add the "ddraw.lib" and "ddraw.h" to the other .libs, so that Visual C++ can do something with it. Please, someone help me, I really don't know how to fix this problem. How can you really add the libraries to the compiler? I really want to start using DirectX so I can become a better game programmer .