Jump to content

How to release a reference to an object


Recommended Posts

Hi,

what works in VBscript with

set object = nothing

seems not to work in AutoIt.

A simple $object = "" does not cut the reference.

I would need this to disconnect from an COM object, otherwise the application will not terminate because it knows that there is a reference to it. My script is a single sign on script which normally never terminates.

Thanks for any ideas!

Link to comment
Share on other sites

  • Moderators

Hi,

what works in VBscript with

set object = nothing

seems not to work in AutoIt.

A simple $object = "" does not cut the reference.

I would need this to disconnect from an COM object, otherwise the application will not terminate because it knows that there is a reference to it. My script is a single sign on script which normally never terminates.

Thanks for any ideas!

http://www.autoitscript.com/forum/index.ph...lite=%2Bnothing

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...