John,
Why are you using NewObject() instead of CreateObject() here? Could that make a difference?
Barbara
>Hi All ---
>
>Strange one here. I have an application with a main.prg that has:
>
>PUBLIC oApp
>oApp=NEWOBJECT("appclass","myclasslib")
>
>The app object sets the environment in Init and then launches a Launcher form, also with NEWOBJECT().
>
>By the time I get to the Launcher form, oApp is vermicht..hasta la vista...gone...undefined. I can watch it happen yet am clueless why...no CLEAR ALL...no RELEASE ALL or RELEASE oApp.
>
>What the heck?