I wrote one windows application in c++, using microsoft visuall express edition 2010. I could run the exe file in my computer and works fine but when i tried it in another computer it says msvcr is missing, I downloaded "deffsetup_msvcr100.exe" from online and installed it and i run my exe this time it worked. What is this file doing. is it possible to fix this problem through my programm.
That dll is vs2010 implementation of C runtime library, if you want to not depend on it then link statically against it, c++ - code generation - multithreaded (/MT switch) and not multithreaded DLL.