Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TIP - Invalid Page Faults
Message
From
27/08/1999 22:58:52
 
 
To
27/08/1999 22:43:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00258020
Message ID:
00258745
Views:
13
Hmmm, I did at at work numerous times, and just now, at home, I reproduced it three times.


>That's the problem with me. I already tried but couldn't reproduce it.
>Cetin
>>Yes, it makes no difference. Try it yourself - it will only take a minute to reproduce.
>>
>>The problem is that NEWOBJECT() does an implicit SET CLASSLIB TO "c:\program files\microsoft visual studio\vfp98\testgfp.vcx" and before it has a chance to reset, SET("CLASSLIB") returns the same to .cSetClassLib and SET CLASSLIB TO fails in the Init().
>>
>>It works fine the first time, but without CLEAR ALL, an Invalid Page Fault occurs the second time the object is instantiated - corrupt cache?
>>
>>While at first glance this seems like one of those one-in-a-million cases, it could create problems with complex objects that instantiate other objects (in the Init()) which, in turn, attempt to use the SET CLASSLIB Command or possibly NEWOBJECT().
>>
>>
- Jeff
Previous
Reply
Map
View

Click here to load this message in the networking platform