http://qs1969.pair.com?node_id=405038


in reply to Need Win32::OLE::Const to see my type library

You can pull in a specific type library like so:
use Win32::OLE::Const [ $TypeLibrary [, $VerMajor [, $VerMinor [, $Lan +guage ] ] ];
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.

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