Jump to content

Recommended Posts

Posted

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)
       )

  • Replies 21
  • Created
  • Last Reply

Top Posters In This Topic

  • CAB

    8

  • ebrito

    7

  • Lee Mac

    6

  • CarlB

    1

Top Posters In This Topic

Posted

Thanks for the link and examples CAB - your help and time is much appreciated. :)

 

I'll set to reading it in between lectures :thumbsup:

 

Cheers

 

:mrgreen: Lee :mrgreen:

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...