none
Unable to launch Visual Studio 2005 dll on Modern Windows RRS feed

  • Question

  •  I have a dll that build by visual studio 2005 and I want to use it in my application build by visual studio 2019. But when I link the DLL to my application I failed to start the app due to the old dll requires files msvcp80.dll and msvcr80.dll.

     I have a lot of Visual Studio runtimes on my Windows but anyway this dll failed to load.

     Probably the issue is that this old dll has a external manifest file that not suitable/corresponds to the my modern Windows Server.

     Is any way to make this old dll works? PS: I don't have source code of this dll.

    The manifest is:

    <?xml version='1.0' encoding='UTF-8' standalone='yes'?> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> <dependency> <dependentAssembly> <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.4053' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> </dependentcy>

    </Assembly>

    In the C:\Windows\WinSxS I have the following:

    - amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_88dcdb0b2fb19957

    - x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a

    - x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d 

    All my DDLS are x86

    Friday, January 24, 2020 12:55 PM

All replies

  • Friday, January 24, 2020 1:11 PM
  • Hi sluge,

    Thank you for posting here.

    Could you share us with more information about when does this issue appear and do you get any detailed error message? And this will help us to help you better.

    Like Castorix31 said, please try to install Microsoft Visual C++ 2005 Redistributable package/Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update(x86). After downloading this package, please launching the installer as administrator(right-click installer and select "Run as administrator").

    If you have trouble in installing it, you could try to right-click the installer and select “Troubleshoot compatibility”.

    Hope this could help you and any feedback will be expected.

    Best Regards,

    Tianyu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    Monday, January 27, 2020 2:39 AM
  • Yes, I have installed vs2005 redistributable
    Wednesday, January 29, 2020 5:53 AM
  • Hello,

    thanks a lot for your help. 

    Yes, I installed the vs2005 redistributable that was mentioned above. 

    During startup I got a message that MSVCP80.DLL is required. I launch depends utility and found that MSVCP80.DLL and MSVCR80.DLL are required

    Wednesday, January 29, 2020 6:10 AM
  • Hi sluge,

    Sorry for delay in reply.

    If possible, you could try to rebuild your application built by VS 2019, and try to re-add/depend your dll file built by VS 2005.

    In addition, you could also follow steps below to delete cache of VS/project.

    #1. Please go to your solution/project folder and delete the hidden .vs folder, then rebuild your application again.

    #2. Please go to C:\Users\username\AppData\Local\Microsoft\VisualStudio\16.XXX folder, find and delete “ComponentModelCache” folder.

    #3. If possible, you could try to uninstall VS 2005 redistributable from Control Panel and then reinstall it again.

    Hope all above could help you.

    Kind Regards,

    Tianyu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, January 31, 2020 6:26 AM