1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

LoadLibrary failure

Discussion in 'C++' started by vivienlwt, Sep 29, 2010.

  1. vivienlwt

    vivienlwt New Member

    Joined:
    Sep 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    At first everything works perfect on my computer. But when I deploy the application in a virtual machine, a weird problem about loadlibrary came up.

    In the application I use LoadLibrary to load an external .dll which fails and gives the error code 14001 (something about side by side configuration). Then I checked the event viewer to see the error message. It tells me that the assembly Microsoft.VC90.CRT is not installed.

    In fact, the external .dll is developed by another one whose use VS2008, while I'm using VS2005. So on my machine there is only VC80 libraries. BUT which makes me sad is that, both my computer and the virtual machine is installed and only installed VS2005, no VC90, only VC80. Why the loadlibrary works fine on my computer but not on the virtual machine??? Is there any configuration that I could check and change to make it work? please help me~~~
     

Share This Page