Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Applications
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00273168
Message ID:
00273171
Views:
18
I forgot to mention one observation. The code contained within
cRegistry.Init (see below) never executes the first time. This is becuase the
goApp object is not created by cApplicationCOM until after cRegistry
is created. However, on the second run, for some reason, goApp is not
being released and thus exists when cRegistry.Init is executing, hence
it tries to set goApp.oRegistrySetting to itself. This in turn doesn't
work because the property oRegistrySetting does not exist as part of
the cApplicationCOM class.


* Bottom lines of cRegistry.Init
IF TYPE('goApp') == 'O'
IF TYPE('goApp.oRegistrySetting') != 'O' OR ;
ISNULL(goApp.oRegistrySetting)
goApp.oRegistrySetting = This
ENDIF
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform