Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I release a class
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00036657
Message ID:
00036790
Views:
39
>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.

Timothy,

in the command window type;

CLEAR ALL
CLOSE ALL
Previous
Reply
Map
View

Click here to load this message in the networking platform