A little problem

This is a discussion on A little problem within the Windows Programming forums, part of the Platform Specific Boards category; Hi guys, I have a little problem! I want to run the program that I made, on the different PC. ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    30

    A little problem

    Hi guys, I have a little problem! I want to run the program that I made, on the different PC. In my project directory I have an executable that works perfectly on my computer. But when I try to run the same program on different PC it says that - "The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." Please, I need your help!

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    I'm fairly certain this is an issue with the application manifest. I'm not sure how to fix it, though (and it might help if you posted what compiler you're using)
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    30
    I'm using Visual Studio 2005 and have Windows XP on both computers.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    30
    Ok, I've been trying to figure this thing out, but still don't have any clue. Maybe because I have .NET framework 2.0 installed on my computer and not on the others plays role? However, I'm only using Win32 API which (I think) doesn't depend on .NET. Maybe I should try using other compiler? Any ideas??

  5. #5
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Your executable could be looking for some DLLs that it cannot find on other computers.

    Try to make sure your project statically links with the C Runtime Library.

  6. #6
    Registered User
    Join Date
    Jun 2006
    Posts
    30
    How would I do that? And also, how can I compile file as .c in VS 2005?

  7. #7
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    under the project settings go to C++ and then to Code Generation and change it from /MD to /MT Multi-Threaded
    My Website
    010000110010101100101011
    Add Color To Your Code!

  8. #8
    Registered User
    Join Date
    Jun 2006
    Posts
    30
    Yes!!!! Works perfectly. Thank you guys very much! So basically, compiler includes all the files my application uses into the executable? Thanks again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 05:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21