Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TIP - Invalid Page Faults
Message
From
26/08/1999 12:21:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
TIP - Invalid Page Faults
Miscellaneous
Thread ID:
00258020
Message ID:
00258020
Views:
49
I have found a special case that is guaranteed to cause a VFP Invalid Page Fault and, therefore, should be avoided:

- NEWOBJECT(CLassName, CLassLibrary) is used to instantiate an object and ;

- SET CLASSLIB TO is issued before the instantiation of the object is complete and ;

- SET CLASSLIB TO ClassLibrary (same class library) is issued after the instantiation of the object is complete and ;

- The object is released and ;

- NEWOBJECT(CLassName, CLassLibrary) is used to instantiate the object again, THEN ;

blamo - VFP Invalid Page Fault every time.
- Jeff
Next
Reply
Map
View

Click here to load this message in the networking platform