in reply to Win32::OLE objects
Hi
I ran the following code:
the result is:use Win32::OLE; my $LogObj = Win32::OLE->new('LOGGERHELPER.UILogHelp'); print "REF IS: ", ref $LogObj, "\n"; print Win32::OLE->LastError(), "\n" unless ( $LogObj);
Then I searched the registry for "LOGGERHELPER" and "LOGGERHELPER.UILogHelp". I don't have that program id in my registry, hence the OLE new method doesn't work. Do you have the .dll for that class ID registered on your machine? Where can I find it? - jREF IS: Win32::OLE(0.1702) error 0x800401f3: "Invalid class string"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Win32::OLE objects
by anselmomh (Initiate) on May 06, 2005 at 22:29 UTC |
In Section
Seekers of Perl Wisdom