Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Find no of objects currently running now

by kalyanrajsista (Scribe)
on Feb 19, 2010 at 07:22 UTC ( #824111=note: print w/replies, xml ) Need Help??


in reply to Re: Find no of objects currently running now
in thread Find no of objects currently running now

I'm trying with the following code

use strict; use warnings; use Win32::OLE; my $GlobalMacro; for ( 1 .. 2 ) { $GlobalMacro = Win32::OLE->new('imacros') or die "Win32:OLE proble +m\n"; $GlobalMacro->{Visible} = 1; $GlobalMacro->iimInit(); } Win32::OLE->EnumAllObjects($GlobalMacro); my $Count = Win32::OLE->EnumAllObjects( sub { my $Object = shift;; my $Class = Win32::OLE->QueryObjectType($Object); printf "# Object=%s Class=%s\n", $Object, $Class; } );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://824111]
help
Chatterbox?
Ratazong takes a cookie from the platter on the sideboard.
Ratazong adds shortbread cookies to the platter on the sideboard.
[Lady_Aleena]: Hi Ratazong.
[Ratazong]: Hi Lady Aleena
Ratazong just learned about free cookies ;-)
shmem rolls a barrel of beer into the refectorium at the request of jedikaiti

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-04-26 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.