Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I release a class
Message
 
À
17/06/1997 13:25:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00036657
Message ID:
00036674
Vues:
37
>Tim,
>
>I assume a typo, and that you are actually issuing . . .
>
> RELEASE CLASSLIB myclass IN myapp
>
>Alternatley, you may come up with something in the KnowledgeBase.
>
>Good luck,
>Jim N
>
>>When I do the following in the Command Window, I get an error:
>>
>>1) Compile my project to an APP
>>2) SET CLASSLIB TO myclass IN myapp && myclass is a VCX and myapp is an APP
>>3) SET CLASSLIB TO && This is suppose to release all classes
>>4) Recompile my project. Below is the error I receive:
>>
>>"Object file \myapp.app is in use and cannot be removed from memory." (Error 1719)
>>
>>For step 3, I have tried CLEAR CLASS myclass and RELEASE CLASS myclass with no success. I looks like there might be a bug with the RELEASE command, because the help file says I can do the following:
>>
>>RELEASE CLASS myclass IN myapp
>>
>>When I do this, I get the following error:
>>
>>"Class library file \myapp.vcx is not found." (Error 1993)
>>
>>I seems like it is ignoring the "IN myapp" and looking for myapp in the default directory. So, my question is how do I release class from memory without leaving FoxPro and coming back into FoxPro.

probably not your problem, but if you are modifying a form that has any objects stored in 'myclass', you'll get that error.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform