Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where's my oApp?
Message
 
To
05/04/1999 22:52:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00205449
Message ID:
00205473
Views:
18
John, did you try to set the breakpoint in Watch window on
oApp = .f.
expression to see when it happens?


>First think I did, David. oApp goes to .F. (not "O") the minute the Launcher launches, even before any code is executed....wondering if it's a VFP6 problem?
>
>>
>>Put a debugger breakpoint on oApp and catch the instant it changes.
>>
>>>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?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform