How to properly exit program
Posted: Wed Jun 05, 2013 6:43 pm
I have written a small LC program for Windows that is essentially meant to start, do some work, then exit.
When I compile it to standalone, I can't seem to get it to exit. It stays running in memory.
I've tried everything I can think of but obviously am missing something.
Also should I run my code all in the On Startup?? or on a preopen??? I'm a bit confused when the various Card and Stack events fire.
For example, I am running everything in On Startup, and part of what I'm doing is geocoding an address via http, but it doesn't seem to work when compiled, but works fine if I step thru the Card via debugger.
Thanks for any help. Feel free to point me to other places that will help me learn. I did look at the Dictionary, but it seems mostly helpful when you know what you're looking for. I have Commercial license.
When I compile it to standalone, I can't seem to get it to exit. It stays running in memory.
I've tried everything I can think of but obviously am missing something.
Also should I run my code all in the On Startup?? or on a preopen??? I'm a bit confused when the various Card and Stack events fire.
For example, I am running everything in On Startup, and part of what I'm doing is geocoding an address via http, but it doesn't seem to work when compiled, but works fine if I step thru the Card via debugger.
Thanks for any help. Feel free to point me to other places that will help me learn. I did look at the Dictionary, but it seems mostly helpful when you know what you're looking for. I have Commercial license.