Sorry for the late response, and thanks for replying.
kempo: Yah I saw that, but i thought it was ridiculous that I have to add files for my exe to run. I have lots of programs I got off the net that are just a stand alone exe file... thats what I'd like to figure out.
Bazzy: Could you please breifly describe what that particular setting does?
airtonarantes: I would be greatful if I could just compile nicely in windows. Im using VS 2008
It makes the compiler linking to a static library at compile time instead of a dynamic library at run time (default setting). Linking to the dynamic one, makes your program needing that DLL to be installed in the computer your program will run.
So you're saying that I need to copy the DLL that has the function that I'm using in it. That makes sense. Do I just copy the DLL into the same location as the EXE or do I actually have to go through some install procedure?
Well then... that's good that it's not using manifests. Mostly because I don't know what that is, and I really didn't want to stretch this topic out that far :)
Adding the DLL files to the location of the EXE works.