Thread: My program doesn't work on others comps

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    188

    My program doesn't work on others comps

    Hello

    I know this might seem a bit nooby, but my Program won't work on others peoples computers. It sais "Stoped working" in direct translate. I'm using 1 picture in the program and 5 icons (including programs icon).

    I'm using these libs;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.Diagnostics;
    using MySql.Data.MySqlClient;
    using System.Threading;
    using System.Collections;

    In my RAR-file i send to my friends, i have only the .exe file.

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    188
    the MySql dll is non-standard. you need that in the RAR file as well.

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Have your friends download and also install the dotNet Framework (if they have not already), since you are using C#, as well as the MySql dll.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    Well, i had my friend to put the MySql dll in the same directory as the .exe file. Still doesn't work. The program stops answer and then shuts down. He already got dotNet Framework, since also he is a C# developer.

  5. #5
    Registered User
    Join Date
    Aug 2008
    Posts
    188
    can u give us a more descriptive error message other than "stoped working"?

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Well, if the icons and picture are external, as opposed to somehow stored in the assembly, they will need to be included as well.

  7. #7
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    rags_to_riches, i tested to remove those, the program still crashes. I can upload it so you can test it.

    http://data.fuskbugg.se/skalman01/BIM.rar <- The file
    Last edited by Livijn; 10-28-2008 at 04:12 PM.

  8. #8
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    I'm sry! The mistake was that i used an icon which was linked to a place that didn't exist. Sry for any inconveniance (spelling?)

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Inconvenience.
    Use Firefox's spell checker. Lifesaver, really.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  2. threaded program doesn't work?
    By OcTO_VIII in forum Linux Programming
    Replies: 1
    Last Post: 12-11-2003, 12:37 PM
  3. The Bludstayne Open Works License
    By frenchfry164 in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 11-26-2003, 11:05 AM
  4. Can't get program to work
    By theirishrover12 in forum C Programming
    Replies: 1
    Last Post: 06-08-2002, 11:10 AM
  5. how does this program work
    By ssjnamek in forum C++ Programming
    Replies: 2
    Last Post: 01-02-2002, 01:48 PM