Quote:
Originally Posted by Zenerdiode
So the upshot is that in an Optimised Compiled application, all the code in AppStart has to run
|
Yes, that is the implication of the startup code fragment that I posted above. You could set a global flag if any initialisation code invokes AppClose and test it in subsequent initialisation code to see whether to actually perform the initialisation or not bother.