A question about runtime

Feb 20, 2016 at 9:02pm
closed account (NUCkSL3A)
Hello I am a relatively new at C++. I use Visual Studio 2008. The first thing I found out about Visual Studio is that to run a program on another computer, you need to add the DLL files into the program's folder. However, I also know that setting the runtime library to "/MT" removes the need for the placement of these DLLs. However, whenever I try to set it to /MT it shows a linker error. I have heard that you need to ignore some libraries to fix this, but this does not work. Can anyone please help me out with this error? Thanks

Captain Vlad
Feb 21, 2016 at 12:48am
What is the linker error?
Feb 27, 2016 at 4:29pm
you need static linkin


push active config to Release


Project Properties
then
1. General / Use of MFC ----- MFC as a static..
2.C++ / Code Generation / r t library ----- m t /MT


Last edited on Feb 27, 2016 at 4:57pm
Topic archived. No new replies allowed.