September 29th, 2003, 01:56 PM
Urgent:Problems transferring C++ executable files on another machine
I created some executable files out of a particular Code using Turbo C++. Those executables were working fine when i checked on my machine in any path . When i transferred those files to another machine which does not have turbo C++ in it then it doesn't run properly. why is this happening ideally the executables should work fine in any machine with or without C++ on it.
I tried to look up some linker options in TurboC++ but could not find anything useful..plss let me know about this as soon as possible.i think that has something to do with dynamic linking..
Thanks so much
September 29th, 2003, 02:42 PM
Didn't dwise1_aol already try to help you with that? Did you follow his advice?
September 29th, 2003, 02:51 PM
OK, now I'm at the office and can look it up in the manuals.
Borland C++ 3.1 User's Guide pages 106 to 109, "Linker":
Get there via the IDE Main Menu: Options | Linker | Libraries
There are four panes in the dialog box that pops up.
In the Standard Run-time Libraries pane are three radio buttons:
( ) None
( ) Static
( ) Dynamic
Yours is probably set to Dynamic. Change it to Static and click on OK.
BTW, the same instructions appear in the Borland C++ 3.0 documentation.