Attempting to upgrade our machines to ActivePerl 5.6, we are experiencing
trouble with Win32::API.
As an example, please try this...
use Win32::API;
my $getosfhandle = new Win32::API('msvcrt', '_get_osfhandle', ['I'], 'N');
die "undefined\n" unless defined $getosfhandle;
my $handle = $getosfhandle->Call(1);
Perl will cause an access violation (error 5) on the Call(). This never
happened with Perl 5005. The exception is still thrown when running the script
as an Administrator (on NT4.0 and XP).
We are actually using PerlCRT.dll instead of msvcrt, but both libraries cause
the same error.
I've contacted Dada (the gentleman who wrote Win32::API) about this, but his
response offered no help.
Can anyone please offer ideas on how to work around this problem?
Thank you,
Clarence Donath
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs