Win32::OLE->LastError()

 

You can also call Win32::OLE->Option(Warn => 2) at the beginning of your script 
to display all OLE errors as they are encountered.

 

Cheers,

-Jan

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Roode, Eric
Sent: Thursday, January 21, 2010 10:12 AM
To: [email protected]
Subject: Win32::OLE can't create object

 

The documentation for this module says,

    "The new() class method starts a new instance of an OLE Automation object. 
It returns a reference to this object or undef if the
creation failed."

 

undef is not particularly useful.  Is there any way to get further information 
on why the object could not be created?  I am trying
to track down a problem here and am getting stuck at this point.


Thanks.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to