Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: return a new object by reference fire a C5 crash
Message
 
 
À
14/04/2004 03:40:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00893984
Message ID:
00894781
Vues:
13
Fabio,

>For fire C5 you must write the code into a prg, close VFP, reopen VFP and run prg without open it.

Ok, with that step I can duplicate the C05 now.

The C05 goes away if you stop using the m.This construct in your code.

Changing the click method to:
   PROCEDURE command1.Click
      THISFORM.MYobject= This
   ENDPROC
and then the form runs without crashing. So there is an easy solution to your problem.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform