http://www.perlmonks.org?node_id=454817


in reply to Win32::OLE objects

Hi

I ran the following code:
use Win32::OLE; my $LogObj = Win32::OLE->new('LOGGERHELPER.UILogHelp'); print "REF IS: ", ref $LogObj, "\n"; print Win32::OLE->LastError(), "\n" unless ( $LogObj);
the result is:
REF IS: Win32::OLE(0.1702) error 0x800401f3: "Invalid class string"
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?

- j