holandes777 has asked for the wisdom of the Perl Monks concerning the following question:
oruse Win32::OLE; $wd = Win32::OLE->GetObject("mydll") || die "Unable to load Win32::OLE" . Win32::OLE->LastError;
I get: error 0x800401e4: "Invalid syntax"use Win32::OLE; $wd = Win32::OLE->GetObject("mydll.dll") || die "Unable to load Win32::OLE" . Win32::OLE->LastError;
I get: error 0x800401e6: "Bad extension for file"use Win32::OLE; $wd = Win32::OLE->GetObject("c:\\windows\\system32\\mydll.dll") || die "Unable to load Win32::OLE" . Win32::OLE->LastError; us +e Win32::OLE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Establishing a reference with a COM ActiveX component
by syphilis (Archbishop) on May 11, 2007 at 07:34 UTC |