Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Class Lib in use
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00401707
Message ID:
00402044
Views:
18
Thanks Ed & Trey

>>I am getting the message one of my classes is in use and cannont be recompiled - cancel/ignore during a build. I don't see how it can be in use. No other windows are open except the project manager. I'm running VFP6 with SP4 on Win2k Prof with SP1. Thanks
>
>(1) You have an instance of a class in memory that's either part of the class in question, or subclassed from that class. Releasing the object in question seems to fix this.
>
>(2) You have a copy of the class in cache from a previous instantiation. Issuing a CLEAR PROGRAM, CLEAR CLASS problematic class name and CLEAR CLASSLIB name of VCX it lives in will cure this in most cases.
>
>(3) A dangling class reference left from a previous run; sometimes the class reference is left over because you dropped it in the Watch window of the debugger, and it never quite finished going away because the reference in the debugger held it open. Open the debugger, clear the Watch window, and issue a CANCEL in the command window.
>
>(4) When all else fails, CLEAR ALL.
>
>(5) When this doesn't work, shut off the computer, and pour yourself a good stiff drink. Or three. Do not turn on the computer until you can't remember why you wanted to turn on the computer in the first place.
Previous
Reply
Map
View

Click here to load this message in the networking platform