Thread: Redistributing a file

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    20

    Redistributing a file

    Hi i build a small programm in Visual Studio 2005.
    Whenever i hand it out, all who test it get
    "The application couldnt be startes, because the configuration data was incorrect. Try reinstalling the Programm to fix the error" (translated from german so may be not 100% accurate)

    I distributed the file with the msvcrt 8.0 dlls, but this didnt help either.

    Sorry if its a dumb question.

  2. #2
    Registered User
    Join Date
    Aug 2002
    Location
    Hermosa Beach, CA
    Posts
    446
    Try linking the executable as a static image so that it doesn't depend on any dll's. The options is somewhere in the project property pages.
    The crows maintain that a single crow could destroy the heavens. Doubtless this is so. But it proves nothing against the heavens, for the heavens signify simply: the impossibility of crows.

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    20
    i found out it has to do with visual studio 2005... rolled back to .NET and i could distribute with ease.

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    An article on this subject has appeared on CodeProject.

    Bootstrapper for the VC++ 2005 Redists (with MSI3.1)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM