Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

RE: Re: WIN32 calls

by kapper (Chaplain)
on Jul 05, 2000 at 11:57 UTC ( #21092=note: print w/replies, xml ) Need Help??

in reply to Re: WIN32 calls
in thread WIN32 calls

he he.. well what you posted here, _was_ excactly what i set out to do... =)

Unfortunatly, I cannot get yours to work (.. my incompetence surely).. it dies at :

$perflib->GetObjectList($process_obj, $proc_ref);

If there is an obvious reason for this, I would be glad to know, otherwise I will just continue hacking away at it myself...

Replies are listed 'Best First'.
RE: RE: Re: WIN32 calls
by t0mas (Priest) on Jul 05, 2000 at 13:55 UTC
    Win32::PerfLib works only on NT. Maybe only 4.0?

    /brother t0mas
RE: RE: Re: WIN32 calls
by gaggio (Friar) on Jul 05, 2000 at 17:31 UTC
    This is weird. Yes, what kind of Windows do you have? I have Win NT 4.0 SP6 with Perl version 5.005_03 built for MSWin32-x86-object (do a Perl -v to check).
    Also, what is the error message when it dies?
      When I call GetCounterNames I get a:
      Undefined subroutine &Win32::PerfLib::GetCounterNames called at line yy.
      I use Win2k and perl, v5.6.0 built for MSWin32-x86-multi-thread (AP613).
      Microsoft has probably changed some internal stuff that makes it uncompatible (in their usual care for peoples invested time and money :).

      /brother t0mas

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2021-10-16 14:27 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (69 votes). Check out past polls.