Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TIP - Invalid Page Faults
Message
From
27/08/1999 22:43:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/08/1999 22:40:20
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00258020
Message ID:
00258742
Views:
10
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().
>
>
Ç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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform