Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't clear CAD / DTE classes
Message
From
18/06/2016 08:16:14
 
 
To
17/06/2016 05:04:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01637449
Message ID:
01637472
Views:
87
>Hi,
>
>I have a form in a vcx using a DataEnvironment (DTE) class from a same .vcx (thru DEclass/DEclassLibrary), including some CursorAdapter (CAD) classes from the same vcx.
>
>After I open the form class, either in the designer or running it, and close it properly, I can no longer modify the DTE and CAD classes in the designer:
>
>Remove class from memory?
>Yes
>Cannot modify a class that is in use.
>
>
>None ot these help:
>
>clear all
>release all
>close all
>
>The only way out is
>
>quit
>
>
>Ever worked around this issue?

As soon as one of the form or dataenvironment classes is edited, the .vcx is opened and left opened by the VFP internal operations and it seems there is no way to close it again. If one tries to USE it exclusively, VFP will report "File is in use" although there is no trace of it being used (not in SET("CLASSLIB"), not in Data Sessions manager, not in DISPLAY MEMORY, not in?...).

I tried with other classes in other .vcx and they work as expected: once the editing is finished, the .vcx is closed and may be freely USEd.

So, probably there is no workaround...
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform