Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.RUBY
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)
Who's Online
Recent Visitors
Michal Wronka
Wed Apr 24 14:13:57 2024
from
Wroclaw, Poland
via
SSH
Cronus
Thu Apr 25 18:24:38 2024
from
Provo, Ut
via
SSH
Michal Wronka
Thu Apr 25 14:02:21 2024
from
Wroclaw, Poland
via
SSH
Bob Worm
Thu Apr 25 11:52:12 2024
from
Wales, Uk
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
296
Nodes:
16 (
2
/
14
)
Uptime:
55:54:12
Calls:
6,651
Calls today:
3
Files:
12,200
Messages:
5,330,761