Answered MSVCP100.dll was not found

  • Thursday, May 20, 2010 6:14 PM
     
     

    Hi:

     

    I am new to C++ programming, please pardon my ignorance if my problem is very simple.

    I have build a VC++ project in both VS 2010 and VS2008. Basically, it is a win32 console application. I have no problem executing that in my pc but when I am trying to run it in Windows Vista machine I am getting the following error.

    MSVCP100.dll is not found. I looked through the documentation of Runtime Libraries which is mentioned below in that it states the following.

    For Standard C++ library MSVCPRT.LIB having characteristics Multithreaded, dynamic link (import library for MSVCP100.dll) with option /MD.

    My question is how do I import MSVCP100.dll? OR What do I need so that the user's machine will not have that error.

    Any help is highly appreciated.

    C Runtime Library Documentation

    -------------------------------------------------------------

    http://msdn.microsoft.com/en-us/library/abx4dbyh.aspx

    Regards,

     

All Replies

  • Thursday, May 20, 2010 6:30 PM
     
     Answered

    If you want to run the executable on another machine, you can install the VC++ redistributable package to ensure the runtime libraries are installed.

  • Thursday, May 20, 2010 6:46 PM
     
     
    One clarification, the build which I generated from VS2008 do not require MSVCP100.dll, Apologize for wrong information.
  • Thursday, May 20, 2010 6:51 PM
     
     

    Thanks Brian, I will update this thread after I install VC++ redistributable package.

    regards,

    Arup

  • Friday, July 09, 2010 1:38 AM
     
     

    thank you

    i want to know, are there any other ways to solve the promble, just like add some file without executive any package.

  • Monday, August 09, 2010 11:59 AM
     
     

    thank you

    i want to know, are there any other ways to solve the promble, just like add some file without executive any package.


    Yes, you can just copy those msvc files to your program folder instead (msvcr100.dll, msvcp100.dll, etc), and MFC files if needed.