bbrownlee has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys.
I have a problem that I think is related to Win32::OLE and Perl versioning. I am migrating an app from one server to another one and the darn thing just isn't cooperating. The app is called Numara Footprints and runs on Perl, which is distributed with the app itself; hence, changing the version of Perl is probably not a viable option since it will void our support contract with Numara.
Both servers are the same OS, Windows Server 2008, 64 bit standard.
I execute the following lines to invoke a dll and output an error if one exists:
$tdc = Win32::OLE->new('TDapiole80.TDconnection'); print Win32::OLE->LastError();
Invoking the object/method on the old system outputs no errors. But on the new system, I get the following:
Win32::OLE(0.1709) error 0x80040154: "Class not registered"
Now, I have seen some discussions about the class not registered issue being related to not loading a dll properly into the system's registry. But I have done this due diligence and assure you the dll is registered. This is why I believe the issue is related to the perl versions and their respective behaviors through the Win32::OLE module.
Please help, Oh Great Perl Monks!
Thanks in advance for your help.
- bb
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl Version and Win32::OLE
by Anonymous Monk on Feb 22, 2010 at 23:01 UTC | |
by bbrownlee (Initiate) on Feb 23, 2010 at 18:12 UTC | |
by bbrownlee (Initiate) on Feb 23, 2010 at 21:06 UTC | |
by nimdokk (Vicar) on Sep 08, 2011 at 16:24 UTC |