Why doesn't it work???

This is a discussion on Why doesn't it work??? within the C++ Programming forums, part of the General Programming Boards category; Hello everyone! Currently, I've done some programs, yet when I try them in other computers, an error comes out saying ...

  1. #1
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103

    Why doesn't it work???

    Hello everyone! Currently, I've done some programs, yet when I try them in other computers, an error comes out saying that it couldn't execute the program because it wasn't configured right, and that I should try to Reinstall the program...

    Why does this happen?? This also happens with the "Release" version of the prgram...

    Anyone know why??
    Be easy on me...only 14

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,510
    Where they developed under MSVC++ 2005? And what is the specific error? I seem to recall you needing a redistributable VC++ to be installed on other machines. I reckon all there is needed is a dll... msvc8.dll or something simillar.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103
    Yes, it was made in VC++ 2005, should I make compile it on an earlier version, such as C++ 6.0??
    Be easy on me...only 14

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    No, you should distribute the required DLLs along with it. Visual Studio should come with a tool called the Dependency Viewer (it might be, though, that the express edition doesn't), which shows you all the DLLs the app depends on. Check with your friend which of these DLLs he doesn't have and package them with your app.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103
    ok, thanx, I'll try that!
    Be easy on me...only 14

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    7,340
    If it is a simple, standard C++ program, you might have accidentally left managed extensions or some other .NET specific option on. If you aren't using .NET, make sure your project is a Win32 Console Application so you don't need the .NET runtime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strcmp returning 1...
    By Axel in forum C Programming
    Replies: 12
    Last Post: 09-08-2006, 07:48 PM
  2. getline() don't want to work anymore...
    By mikahell in forum C++ Programming
    Replies: 7
    Last Post: 07-31-2006, 10:50 AM
  3. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 10:39 PM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 11:39 AM
  5. DLL __cdecl doesnt seem to work?
    By Xei in forum C++ Programming
    Replies: 6
    Last Post: 08-21-2002, 04:36 PM

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