Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 272627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:20:17+00:00 2026-05-12T00:20:17+00:00

I have a project that comprises pre-build Dll modules, built some time in the

  • 0

I have a project that comprises pre-build Dll modules, built some time in the past, using Visual Studio 9.

The EXE of the project is built now, using SP1 of Visual Studio 9.

When we deploy the EXE we don’t want to require administrative access, so the C-Runtime has been bundled into the root of the application. The Dlls: MSVCRT90.DLL and their Manifest: Microsoft.VC90.CRT.manifest

Now, the EXE and latest versions of the runtime manifests are all in agreement – the application manifest asks for 9.0.30729.1 of msvcrt.dll, and the crt-manifest contains the entries confirming that msvcrt90.dll is version 9.0.30729.1

Now, a problem. A 3rd party DLL library used by our application was linked against the original msvcrt90.dll version 9.0.21022.8 and has an internal manifest to this effect.

On our development PCs where both versions of the VS9 CRuntime have been installed the app works. On “fresh” PCs where we install the app for the first time – the DLL fails to load.

Now, I have some cheats I can do – one is to revert the app to 9.0.2 – get the 9.0.2 DLLs off the original source media. This is undesirable as 9.0.3 is preferable.
Or I try really hard to get a rebuild of the 3rd party library.

I am furthermore pretty certain that, on our development PCs, when the 3rd party library asks for the old dll it gets redirected to the new dll – they are binary compatible.

Application manifests and assemblies were meant to save us all from this kind of rubbish.
It must be possible to edit the assembly manifest files so that both the exe and dll can load.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T00:20:17+00:00Added an answer on May 12, 2026 at 12:20 am

    I’ve never tried that but I think you can solve that with bindingRedirect in the manifest, I know that it works in the managed world.

    See example (You will need to change the values for your version)

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configuration>
      <windows>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <assemblyIdentity name="Your.Application.Name" type="win32" version="9.0.0.0"/>
          <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" />
            <bindingRedirect oldVersion="9.0.20718.0-9.0.21022.8" newVersion="9.0.30411.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.MFC" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" />
            <bindingRedirect oldVersion="9.0.20718.0-9.0.21022.8" newVersion="9.0.30411.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.MFCLOC" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b">
            </assemblyIdentity>
            <bindingRedirect oldVersion="9.0.20718.0-9.0.21022.8" newVersion="9.0.30411.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </windows>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Visual Studio 2010 project that comprises of a bunch of C
Dear All: I have a C++ project (in Visual Studio 2008) that comprises of
I have a Visual Studio solution that comprises of several projects and are separated
We have a Visual Studio solution that comprises multiple production and test projects. The
I have a project that defines an idl and it compiles it using MIDL.
I have a project that is built and managed by Maven. I have a
I have a project that currently compiles happily on my dev machine using VS
I have a solution in Visual Studio that is comprised of 5 projects. The
OK, so I have a C++ project that compiles to a DLL file. I
I have a web application that comprises the following: A web project (with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.