Hi all, I am currently reading TWGPG book and up until this point have been using Borland compiler. I just got MSVC++ 6 and read some of the help files and msdn articles to figure out how to compile with added libraries. I tried compiling project 1 in the book (the freakout demo). I compiled and it worked, but I wanted to know if I followed the standard procedure or if I just got lucky by adding lots of things to my project. So this is what I did:
I started a blank win32 application project.
I added freakout.cpp to the source files folder
I added blackbox.cpp to the source files folder
I added ddraw.lib to the source files folder
I added the include and lib paths to dxsdk folders
I moved them up on the list to be searched first
- Free Your Mind -
I tend to add my libraries into a libraries folder (source works just as well), rather than in link settings. That was I can easily see what libraries I''m compiling with when moving around between projects.