28 Apr
2009
28 Apr
'09
7:56 p.m.
That may be part of your problem. Assuming that you are using Visual Studio, go to the project properties dialog. In the tree at the left, select Configuration Properties - C/C++ - Code Generation. About halfway down the list on the right, you will see a "Runtime Library" property. Set it to the correct value for your program. The choice should be obvious.
Single-threaded CRT is available in MSVC7 and below, so if the OP uses more modern version, invalid CRT threading choice should not be a problem.