Re: Win32_API Not usable

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

>$_@_.%_ wrote:
>> Apparently this problem only affects Win32::API version.41
>> C:\>ppm install Win32-api.ppd
>> ===================> Install 'Win32-api' version 0.20 in ActivePerl
>> ===================> Installing C:\Perl\site\lib\auto\Win32\API\API.dll
>> Installing C:\Perl\site\lib\auto\Win32\API\API.exp
>> Installing C:\Perl\site\lib\auto\Win32\API\API.lib
>> Files found in blib\arch: installing files in blib\lib into architecture
>> nt library tree
>> Installing C:\Perl\site\lib\Win32\
>> Successfully installed Win32-API version 0.20 in ActivePerl
>> The error does not occur with this version of Win32::API
>I can send you a built version of 0.41 if you need it - though I'm a
>little surprised that you can't obtain one from ActiveState. (See below
>for my correct email address if you wish to contact me via email.)
>I built mine using Visual Studio 7 (on a perl that was built with the
>same compiler). It seems to work fine with AS build 810 .... at least it
>loads without error.
>To reply by email u have to take out the u in kalinaubears.

Ta appreciate that.  Thing is; when .41 is installed the following script
causes a (memory cannot be 'read') error.  This error does not occur with
Win32::API version.20

use Win32::API;
print "ok\n";

Application popup: perl.exe - Application Error : The instruction at
"0x10003ec1" referenced memory at "0x00000000". The memory could not be "read".

Click on OK to terminate the program
Click on CANCEL to debug the program

Site Timeline