i have the same kind of error with Perl 5.6
with Perl 5.5 => ok
with Perl 5.6 => crash

i have even installed the new Win32::OLE module but it still crashes.
it seems like a memory problem.
here's my very simple code :

------------------------------------------------------------
use WIN32::OLE;
Win32::OLE->Option (Warn => 3);
eval { testcrash() };
sub testcrash {
        my $MSWORD= Win32::OLE->new('Word.Application');
        eval {$MSWORD ->{Documents} ->Open ("123456789")};
        $MSWORD ->Quit;
        die "ERROR : Document could not be opened!\n$@\n";
}

END {print "no crash";}
------------------------------------------------------------

with a OLE warn <3, it simply dies but does not crash perl.
When no OLE exceptions are thrown, it does not crash neither.

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to