C++ Exit Error Codes .... please help :(

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
I'm using Borland c++ builder x, and I keep getting this strange error... it compiles and runs, but i get a runtime crash of some sort (invisible) nothing happens and it says it exits with error code number 128. Does anyone know what this means? I'm trying to debug and an idea of what it means could really help me out.

Thanks a lot,

Dave
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Maybe it's aborting? There's nothing significant about return codes in general, other than zero is success and non-zero is failure.

Debug. ;)
 

BFG10K

Lifer
Aug 14, 2000
22,709
3,000
126
Stick some debugging code in there and find where the error is happening. Then you'll get a better idea of what's going on.
 

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
Well I found out what the problem was, it was a very strange problem with a destructor, the debugging thing caught it, but it was so weird I figured it was wrong :p oh well :) thanks guys