#! perl -slw use strict; use Win32::API; Win32::API->Import( 'Kernel32', 'HANDLE GetCurrentProcess( )' ); Win32::API->Import( 'Kernel32', 'BOOL GetProcessHandleCount(HANDLE h, LPDWORD c)' ); my $hProcess = GetCurrentProcess(); my $count = 0; GetProcessHandleCount( $hProcess, $count ) or die $^E; printf "This process is using %d handles\n", $count; __END__ P:\test>479539 This process is using 16 handles
In reply to Re: handlecount of win32 process
by BrowserUk
in thread handlecount of win32 process
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |