Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where's my oApp?
Message
From
06/04/1999 19:50:40
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00205449
Message ID:
00205824
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform