• How to release or disconnect the win32ole objects

    From satya28@gmail.com@21:1/5 to All on Thu Mar 9 06:11:08 2017
    Hi,
    I'm facing a problem on releasing/free up the win32 ole objects.
    Here is what I did, but it didn't work.

    I'm creating an ole object to our application like below.

    @automation = WIN32OLE.new( "Wolfson.WISCE.WISCEAutomation" )
    @automation.ole_free

    But it's not free up the above object.
    If I tried with
    @automation = nil
    GC.start

    The above stuff didn't work for me though the object is nil, It shows me that still I have connection with the app.

    Please help me on this, how can we free up completely the ole object.

    Thanks,
    Satya

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)