Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange C0000005 error
Message
De
07/03/2005 18:40:52
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
07/03/2005 17:51:28
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:
00993464
Vues:
14
Hi,
It does the same on VFP9 Beta. If you rem out oTest.AddObject("oObj2", "form") it works, what are you trying to do here.

>I have been getting a c0000005 error in an application which has worked fine until recently. I was finally able to strip it down to bare minimum and the resulting code below will generate the error.
>
>It has been confirmed on in VFP 8 SP1 on
> Windows XP SP2
> Windows 2000 Pro SP4
> Windows 2000 Server SP4
>
>Can someone tell me why this error occurs and why now? There are no known modifications to the structure of the application to justify this. My client needs delivery soon and I am at my wit's end.
>
>Is it illegal to add a FORM to a CUSTOM object? If so, why does VFP not complain at creation? And why does no error occur if for example, the property sheet is active during the running of this code?
>
>TIA
>Charles Richard
>
>*Generate a c0000005 error
>*---------------------------------
>Public oTest
>oTest = CREATEOBJECT("custom")
>oTest.AddObject("oObj1", "custom")
>oTest.AddObject("oObj2", "form")
>oTest.oObj1.AddObject("oObj3", "form")
>oTest.oObj1.oObj3.Show
>*EOP -----------------------------
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform