Crashes when executing tp6.0 exe

Hello!

I have recently written a fax app in tp6.
When I run the .exe from a dos prompt it runs fine.
However, when I run it from within a Sage Sovreign 4GL program (using
the 'execute' command) the exe runs fine, but then the machione locks
up/crashes when it tries to exit back to Sage.

Is this something to do with the stack/min heap/max heap parameters ?
If so, what should they be ?

T.I.A

----------
Che Rowley