in reply to Need Win32::OLE::Const to see my type library
You can pull in a specific type library like so:
Where $TypeLibrary is a string with the name of type library. And yes, the type library needs to be properly registered. The last three parameters are optional.use Win32::OLE::Const [ $TypeLibrary [, $VerMajor [, $VerMinor [, $Lan +guage ] ] ];
To find the proper registered names for the Type Libraries on your system you can browse through the registry with 'regedit'. The key of interest is HKEY_CLASSES_ROOT\TypeLib. There are also numerous tools available for view type libs.
-Nitrox
In Section
Seekers of Perl Wisdom