The latest version of Win32::API, marked v0.46, should now correctly install even from the CPAN shell. Finally!
There is a fair amount of work behind, but now it should build, test and install cleanly on all major platform and compiler combinations.
In short, the build of API_test.dll is now gone. In the 0.46 package there's a pre-built library compiled with MSVC 6, that happens to work smoothly when loaded by any Win32::API flavour.
The test suite is now simpler and takes compiler/environment differences into account.
I directly tested it on:
Obviously there are lots of problems and improvements possible:
I don't know now when I'll find the time to go on with this work, but for now, have fun!
I wish I could say all is well, but... (Score:2)
test COSIMO/Win32-API-0.46.tar.gzin the CPAN shell on the two platforms I have available, and it kind of works... but both seem to fall over a secundary test somewhere. The same one.Re: (Score:1)
Hi Bart, this is interesting. Thanks for your time.
AFAIK, ActivePerl comes compiled by MSVC6, which is cl.exe version 12, but you are using with gcc. Correct?
In the Callback tests, which btw fail unless you have MSVC6, I needed a way to check the compiler and I used
$Config{ccname}and$Config{ccversion}instead of only using$Config{cc}, because I only must distinguish between MSVC 6 and 7+.Can you report your cc, ccname and ccversion variables? Or better, file a bug on
Thank you! (Score:1)
Works smoothly on Strawberry Perl. I've updated it on the Vanilla Perl Problem Modules page on win32.perl.org. Thank you very much for all your work on this!
Works for me (Score:1)
This is perl, v5.8.7 built for MSWin32-x86-multi-thread