Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5 in VFP 7 SP1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00707857
Message ID:
00708072
Vues:
20
Actually, the comment should be in AfterCloseTable

>I found your thread, I was able to reproduce the C5 with even less code:
>
>1. Create a form
>2. In the DataEnvironment Add a comment in the BeforeCloseTables Event
>3. In the Form load Add "Return .F."
>4. Run the form
>
>Bye bye VFP !!
>
>Tested in VFP 7 SP1 W2K Server SP2
>
>Could anyone explain the internal problem in VFP so i can repro with other objects.
>
>Stephane
>
>
>>Stephane,
>>
>>Wish I could say I was having drinks with the two of you, but I've been able to kill VFP7 quickly and easily. My original post here was titled "Repeatable C000005 - try this" - I don't have the original thread number (sorry).
>>
>>I had logic in the load event of the form that would check for a logical form property - if the logical was FALSE, I'd return FALSE from the LOAD and the form would never initialize. In the data environment error event, I put a simmple condition that set the property to FALSE if the the data environment failed to open a file. From outside the program, I opened the table exclusively and ran the form. Most of the time it would hang VFP, but on other occasions it would toss a C00005 just before hanging VFP.
>>
>>This problem was confirmed by the community (gotta love this place, eh?) and eventually Mike Stewart chimed in. Not a problem in VFP6 or VPF8 but will crash VFP7 every time. To make things worse, SP1 was all we get for VFP7.
>>
>>That's my C00005 recipe - anybody else have one? Andy - care to share?
>>
>>All the best,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform