Using manifest files to specify runtime dependencies? RRS feed

  • Question

  • I am building my app (DLL) using VS 2008, hence it has a runtime dependency on the VC90 C-Runtime. Unfortunately the target machine does not have the VC90 SxS DLLs installed (and I would prefer not to deal with merge modules or redistributable files).

    Is there a way (using manifest files perhaps) to force a runtime dependency on the VC80 C-Runtime files (which will be on the target machines) ?
    Wednesday, April 30, 2008 9:17 PM


  • No, there are breaking ABI changes between VC8 and VC9's runtimes, so it's not possible to run a VC9 application against the VC8 runtime. Your two remaining options are to either statically link your app against the CRT, or ship the CRT DLLs privately in the application folder.

    Wednesday, April 30, 2008 10:21 PM