How to release or disconnect the win32ole objects
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)