According to WinAPI Docs
You could do the following:
$count_windows = new Win32::API("User32.lib","EnumWindows",[P,P],I);
$pCallback = sub callback;
$myparam;
$count= $count_windows->Call($pCallback, $myparam);
I'm not sure how the user-defined value is used ... I suppose you have to
define
Hello Tye,
I crashed perl...!! I suspect that the problem may lay with my use
/mis-use/ or abuse of the Win32API::File module. Perl crashes
intermittantly with the following reported in the windows 2000
event-viewer:
The application, , generated an application error The error occurred on
06