CAB Posted January 21, 2009 Posted January 21, 2009 More homework for you. http://www.theswamp.org/index.php?topic=2005.msg25794#msg25794 There has been a debate about what should be release & what does not need the release. That is old code and I used to do it but now I only use the release on special items. Like this: ShlObj (vla-getInterfaceObject (vlax-get-acad-object) "Shell.Application") Folder (vlax-invoke-method ShlObj 'BrowseForFolder 0 PrmStr 0) (vlax-release-object ShlObj) and dbxobjects (and odbx (not (vlax-object-released-p odbx)) (vlax-release-object odbx) ) Quote
Lee Mac Posted January 21, 2009 Posted January 21, 2009 Thanks for the link and examples CAB - your help and time is much appreciated. I'll set to reading it in between lectures Cheers Lee Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.