Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange C0000005 error
Message
 
À
07/03/2005 20:01:08
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00993449
Message ID:
00993528
Vues:
13
I think you need to [at least] show the parent also. C5 can also be raised when trying to destroy the parent from it's childs.

Try just showing the parent.

>>It does the same on VFP9 Beta. If you rem out oTest.AddObject("oObj2", "form") it works, what are you trying to do here.
>
>Yes. And if you rem out oObj1 and "show" oobj2, it also works. It's the combination that fails I.E.:
>
>*Another version of FORM in CUSTOM which does not fail
>Public oTest
>oTest = CREATEOBJECT("custom")
>oTest.AddObject("oObj2", "form")
>otest.oobj2.Show
>*EOP
>
>F.Y.I. This is the stripped down version of a working application where there are many objects doing many things. Among other things, a mail monitor and progress bars.
>
>Note, I have worked around the problem by creating properties instead of using ADDOBJECT. However, I really want to understand if this is a bug or if we are really not supposed to create FORMs in CUSTOM objects.
>
>Charles Richard
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform