>Hello once again...
>I wrote a small piece of code that runs on shutdown. When I compile my application, move it to its working directory, and then quit, I get an error that says "Cannot find QuitApp.prg".
>Will someone help me?
>
>Thanks.
>
>Jason Nance
Is QuitApp.prg included in the project? What syntax are you using to specify this program as your shutdown routine?
You want to use
ON SHUTDOWN DO QuitApp,
and NOT
ON SHUTDOWN DO QuitApp.prg
The latter looks for a file on disk.
Another way is to define QuitApp as a procedure in the program that specifies ON SHUTDOWN.
Erik Moore
Clientelligence