• Advertisement

Archived

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

Am I doing this right?

This topic is 5946 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

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 -

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
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.

Either method is correct.

Share this post


Link to post
Share on other sites

  • Advertisement