Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Problem Accessing Object using Win32::OLE

by larryk (Friar)
on Aug 14, 2002 at 15:23 UTC ( #190111=note: print w/replies, xml ) Need Help??


in reply to Problem Accessing Object using Win32::OLE

The following works on my Win2k box:
#!perl use strict; use warnings; use Data::Dumper; use Win32::OLE; my $phone = Win32::OLE->new('{FC9E740F-6058-11D1-8C66-0060081841DE}'); + # don't ask! print Dumper($phone);
but I had to rake the registry for 'Telephony' (the string you should search for if you want to find it yourself is 'Telephony Class') to get it out of \HKEY_CLASSES_ROOT\CLSID

Hope this helps

   larryk                                          
perl -le "s,,reverse killer,e,y,rifle,lycra,,print"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://190111]
help
Chatterbox?
NodeReaper releases the hounds

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-09-24 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (274 votes). Check out past polls.

    Notices?