Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Applications
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00273168
Message ID:
00273171
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform