Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When are in use?
Message
From
14/06/2000 22:12:33
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00379913
Message ID:
00380550
Views:
13
>3. To pack, I tried to open the VCX exclusively, and failed... Further research showed that running an application that uses the class library (class excluded from the project) will get the VCX in use, and will not release it until quitting VFP!!! Exitting the form, or the application will NOT release the VCX. Is this normal behaviour?

Ok, I just hit the same problem today, getting an error 3 (File in use) when opening a VCX up exclusivly. I got around the problem by issuing CLEAR CLASS MyClass, even though the first time I saw the command in the Hacker's Guide I thought I read it doesn't work at all. Then I read it again, and I still think its wrong, but I didn't spend more than a minute looking at it. Here's an example (recgonize the class, Koziol? ;-)

oVulcan = newobject('vulcan', 'startrek')
release oVulcan
use startrek.vcx &&Opens fine
use startrek.vcx excl && Error 3, file is in use
clear class vulcan
use startrek.vcx excl &&Opens up
Previous
Reply
Map
View

Click here to load this message in the networking platform