My exe can't use on other computers with same platform

This is a discussion on My exe can't use on other computers with same platform within the C++ Programming forums, part of the General Programming Boards category; I am using the borland c++ builder 6. I write a simple program and complie it to exe. When i ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    29

    Exclamation My exe can't use on other computers with same platform

    I am using the borland c++ builder 6. I write a simple program and complie it to exe. When i run on other computers, it prompts for a file called cc3260mt.dll file.

    Can I include the cc3260mt.dll file to my exe so that others can run my program on their computers.



    Thanks
    mind your own mind...

    PsychoMantis,

  2. #2
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    zip ur exe and include the dll file in your zip i think the dll must be in the same folder as in the exe.
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    29

    Question

    There's no way to include the file to the exe???
    mind your own mind...

    PsychoMantis,

  4. #4
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    As I remember Borland's compiler requires you to set some option to make a static exe. Look for some option you need to enable (or parameter to pass in if you are going the command line route). I'm 100% sure that is your problem. I've seen the same problem on the boards before.

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I should have asked before, but is that dll Borlands? Or is that some dll that you compiled? If the second is true, Klinerr1 is correct and it should work if you put the dll in the the same directory as your program.

  6. #6
    Registered User
    Join Date
    Jul 2002
    Posts
    29

    Unhappy

    Sigh... thanks, i guess i had to create a folder to put the exe and the dll inside...
    mind your own mind...

    PsychoMantis,

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MinGW Linking GUI Program
    By Tonto in forum Tech Board
    Replies: 19
    Last Post: 08-23-2006, 03:28 PM
  2. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 09:43 AM
  3. Visual C++ 2005 linking and file sizes
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 11-12-2005, 09:41 PM
  4. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  5. Computers as authors
    By hk_mp5kpdw in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 11-22-2004, 07:55 PM

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