Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Class Lib in use
Message
From
06/08/2000 21:46:06
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00401707
Message ID:
00401712
Views:
18
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform