Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PEMEditor and Buffer Overrun problems
Message
De
01/10/2009 10:06:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/10/2009 09:52:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01427076
Message ID:
01427086
Vues:
107
>There have been a few reports over time with "Buffer Overrun" problems in PEM Editor. These errors crash VFP.
>
>This message is a status report on what I have learned about these errors.
>
>The actual error is an error in VFP9 SP1 and is completely independent of PEM Editor. The error can be reproduced when PEM Editor is not even open, by doing the following:
>
>(A) Open up the form or class where the error occurs and, if necessary, select the appropriate object.
>
>(B) Execute the following three lines, which should create an array called aMemberList containing, among other things, the descriptions for all the members:
? 0 # ASelObj (aObjects) or  0 # ASelObj (aObjects, 1)
>aObj = aObjects(1)
>? AMembers( aMemberList, aObj,3)
>The last statement is the statement, as you will see, where the Buffer Overrun occurs, bombing VFP.
>
>Unfortunately, there appears to be no way around this:
>
>(1) Obtaining the list of member descriptions is an integral part of PEM Editor and cannot be removed
>(2) There is no known alternative to aMembers to obtain the list of member descriptions.
>(3) The conditions which cause the error are not known, so it is not possible to simply bypass this code conditionally.
>(4) It is not possible to capture the error when it occurs; VFP just crashes.
>
>Note that this error occurs in SP1 but apparently not SP2.

"(A) Open up the form or class where the error occurs and, if necessary, select the appropriate object."

But how can we create such a form in the first place? I have been using SP1 for a long time and I still do. I have never seen that error occur (not using PEM editor - downloaded last night on my home computer).

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform