>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only