Borland C++ Builder 5

I have started doing my first SDL coding in Windows (porting code that
already runs fine under linux) using Borland C++ Builder 5. The
applications will start, and run fine, but when I exit the computer
restarts. It was really funny the first time but now it has gotten
pretty old. I have run the debugger through this code a million times
and all signs point to problems in Borlands standard C library. But
before I start patching SDL with work-arounds, I would like to get input
from the community. Does anyone else use BCB 5 for SDL developement ?
If so could you e-mail me off list with any work arounds, problems, or
suggestions that you may have? E-mail me even if you use BCB 5 with no
problem…

Thanks!
– David Snopek

/-- libksd –
| The C++ Cross-Platform Game Framework
| Only want to write it once??
| http://libksd.sourceforge.net
------------