Slimelite BBS

Problems Running .Exe'S

Back to EMULATE

From Kris Michaud · 1996-03-31 00:01 · #73522 in EMULATE

DM>If I name it WAR114.EXE (after compiling WAR114.CPP) it crashes
DM>   and really plays up, doing all sorts of wierd things

Hmmmm....are you using the IDE to compile it?  I'm just guessing here
but I do know when you do compile a file under the IDE in Turbo C++
3.0 it writes a bunch of useless data to the end of the file that I
beleave the IDE uses!  One thing thats saved at the end of the file
is the name of the source file (eg. WAR114.CPP)  So their may be a
chance that the compiled code checks for this saved information and
fumbles when the name of the EXE and CPP are the same!  Now the
only question is does your compiler come with an IDE?  Do you use
it if it does come with one?  ...And one more thing does any other
programs you made/make do this!  If it has nothing to do with what
I've said then I have no clue!  Maybe someone else knows!

Kris
---
 * OLX 2.1 TD * DANGER! Human at keyboard!

--- WILDMAIL!/WC v4.12 
 * Origin: -ð CompuBBS ð- Edmundston,NB - (506) 735-3831 -  (1:255/20.0)