Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where's my oApp?
Message
De
06/04/1999 19:50:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00205449
Message ID:
00205824
Vues:
16
A Gold Star to Josh and a clap on the back to Bob ----

The problem was that I was loading up on commands in the Init of the oApp object and the object is not entirely instanced at that point, causing all references to oApp from an external object to crash.

Once I changed over to Josh's suggestion (Bob mentioned it too) of:
oApp=NEWOBJECT("myappobject","myclasslib")   && No code in Init
oApp.Launch()                                && Code that was in Init here
Everything worked fine. Thanks to everyone for helping me out on this one.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform