Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Need Win32::OLE::Const to see my type library

by Nitrox (Chaplain)
on Nov 03, 2004 at 23:13 UTC ( #405038=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://405038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2021-09-19 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?