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 4625134
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:13:44+00:00 2026-05-22T03:13:44+00:00

This page has instructions how to deploy a local copy of VC++ 2008 libraries

  • 0

This page has instructions how to deploy a local copy of VC++ 2008 libraries with your app, to avoid having to install 3rd-party vcredist. This is useful to me because it would let me send a zipped folder to users they can run without having to use an installer, which is disliked.

But, it doesn’t work for me. My app doesn’t use MFC, just Win32 and is otherwise standard C++. I have app/MyApp.exe and that’s it… which files should I be copying from %PROGDIR%\Microsoft Visual Studio 9.0\VC\Redist\x86 and exactly where should they go?

I am testing this on an XP-Mode Virtual PC and when I am trying to follow the instructions in the page, copying files across makes no change to getting the “The application failed to initialize” error. Is there some step I am missing?

I had a look at my manifest and it seems as expected only CRT is used: http://pastebin.com/BD4NZMC2

  • 1 1 Answer
  • 0 Views
  • 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-22T03:13:45+00:00Added an answer on May 22, 2026 at 3:13 am

    The easiest way to workaround the DLL-hell is recompiling your application with /MT compiler flag (instead of default /MD). This will link the C runtime libs statically.
    If this is a standalone exe, this will always work.

    If not (i.e you have your own DLLs), you have to take care that you allocate and release memory in the same module – that is, if you malloc() a piece of memory in executable and free() the same pointer in DLL, it will crash – as both executable and DLL will get their own heaps, and attempting a free() on mismatched heap won’t work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This page indicates that TabPage has a GotFocus event, but in Visual Studio 2008
http://steph.net23.net/work.php here is my test link. This page has a jquery script in it
This Wikipedia page has an extensive list of hashing methods As you can see,
I want to do something like this: page A has a link to page
Notice in the bottom right hand corner of this page it has the SVN
I have a page that has 3 variables. They look like this: String[] Headers
This has got to be something simple: I set up a frames page with
Firefox has this nice find-a-text-on-the-page dialog, which is non-modal and shows up at the
Sample page: http://jsbin.com/ohuze/2 This is a simple jQuery UI Accordion. Each accordion panel has
The instructions on the JanRain installation page says to load the app id dynamically.

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.