If undef does not work for you get a sledgehammer and try Win32::KillProcess. This has yet to make CPAN but with it you can just:
use Win32::KillProcess ':all'; $c = connectServer(); my @pids = getProcessPids( $c, 'excel.exe' ); killProcess( $c, @pids );
Outlook is one program that seems to leave instances lurking about even when you really try to do the right thing.
cheers
tachyon
In reply to Re: Really stop WIN32 OLE application
by tachyon
in thread Really stop WIN32 OLE application
by yike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |