>>PMFJI. Is it reasonable to assume that since the application started and therefore the main.prg executed successfully, then any function/procedure defined in the main.prg is always loaded?
>
>I'm not 100% sure, but I think that is correct. For classes in a VCX it would be different.
That would be easy to test. While the app is running (from do main.prg, not exe) just try to rename any .fxp or .vcx file it may have open. If it can't be renamed, it's open.