Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't clear CAD / DTE classes
Message
De
20/06/2016 04:53:35
 
 
À
18/06/2016 08:16:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01637449
Message ID:
01637480
Vues:
137
>>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...


Thanks Antonio,

The only way out is probably quit.
Better have super fast _startup routines!
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform