S
Sharad K
Hi all,
I am trying to invoke a function in kernel32.dll from my perl program which
looks like this -
use Win32::API;
$GetPID = new Win32::API("kernel32", "GetCurrentProcessId", '', 'N');
$PID = $GetPID->Call();
But ActivePerl cribs saying "Can't locate Win32/API.pm in @INC (@INC
contains: E:/Perl/lib E:/Perl/site/lib .
) at 1.pl line 2."
Can anyone please point me the source of the error.
Thanks in advance,
Sharad
I am trying to invoke a function in kernel32.dll from my perl program which
looks like this -
use Win32::API;
$GetPID = new Win32::API("kernel32", "GetCurrentProcessId", '', 'N');
$PID = $GetPID->Call();
But ActivePerl cribs saying "Can't locate Win32/API.pm in @INC (@INC
contains: E:/Perl/lib E:/Perl/site/lib .
) at 1.pl line 2."
Can anyone please point me the source of the error.
Thanks in advance,
Sharad