Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application exits but process stays alive
Message
From
10/06/2004 19:41:03
 
 
To
10/06/2004 19:36:38
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00912489
Message ID:
00912491
Views:
8
>Help - I know I've done this countless times before.. but.
>
>I have the simplest program:
>
>*simpleform.prg
>do form simpleform
>read events
>
>compile the exe
>from command window
>do simpleform.exe - works
>the only thing in simpleform, at all, is clear events in the unload.
>
>** this works fine
>but when I run it from the command line, the program exits, but, the process simpleform.exe is still active under processes in task manager (the application is gone)
>
>I have to kill the process to get rid of it.
>
>What am I doing wrong?

Sounds like you just closed your form so you're stuck at the READ EVENTS line of code. You need to issue a CLEAR EVENTS at wherever it is you are closing your form.

It may be as simple as adding the CLEAR EVENTS to your Form.Destroy method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform