Hi!
I had similar problems, and in my case the problem was the
TAB ORDER!!! That is, the selected button was "stop" button, and if I
pressed tab to switch the focus to another button, application
stopped.... that is, your exit function may be launched in some
way, you can check if this occurs.
Moreover, the problem shows also when you properly build
an executable?? I mean a distribution kit, and not when you create the
executable and you abruptly launch the file "my_application.exe".
I am interested too to the problem of the difference
between execution of an .exe while LabWindows is running, and an
execution when it is not, so any further post is wellcome!
Graziano