Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of cosimo (4138)

Wednesday February 20, 2008
04:37 PM

Win32::API v0.48 adds cdecl function call support

[ #35706 ]

As you probably know, I have been struggling to get Win32::API to work on Vista with various MSVC++ and GCC compilers.

Since many have asked for it, and some brave soul had an old patch available on the net, I decided to give it a shot.
I had already tried 2 or 3 times to get this patch (originally for v0.41) integrated in the new Win32::API versions, but always failed at it.

Today I decided to take the full journey, and seems I succeeded. Probably I broke something else... :-)
Please bare with me. Anyway, I have 2 things left in this release that I want to address in the new one:

  • There's a Borland C macro def that is completely broken (thanks to BrowserUk for noticing)
  • I need to complete the stack cleanup assembler code at the end of Call() function in the XS code. This should be easy, for some definition of "easy", since I already have some examples of MSVC/GCC assembler code in my RT queue.

In the meanwhile, if you notice something wrong with your OS/Perl/compiler, please mail me or fill in your bug report in RT. Thanks!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • ... concensus seems to be building for "use Win32::API for everything Win32:: instead of all that custom C" amongst the Strawberry crowd, so I'm looking forward to a universally-working Win32::API with great anticipation.