Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: return a new object by reference fire a C5 crash
Message
 
 
To
14/04/2004 03:40:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00893984
Message ID:
00894781
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform