[rt.cpan.org #104426] function was called with the wrong prototype and caused a C stack inconsistency

[email protected] ("Daniel Dragan via RT") Sat, 16 May 2015 17:09:08 -0400
Newsgroups perl.libwin32
Message-ID <[email protected]>
Sat May 16 17:09:07 2015: Request 104426 was acted upon.
Transaction: Correspondence added by BULKDD
       Queue: Win32-API
     Subject: function was called with the wrong prototype and caused a C stack inconsistency
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104426 >


On Thu May 14 11:47:45 2015, KMX wrote:
> 64 bit perl 5.20.2 built with gcc-4.9.2 + mingw-w64-v4.0.2 runtime does not
> fail

The feature that does the "Win32::API a function was called with the wrong prototype and caused a C stack inconsistency" die is not implemented on 64 bit and never will be (MS Win64 ABI doesnt supply the info).

I will probably have to try to build it myself and look at the binary produced. where do I get this "gcc-4.9.2 + mingw-w64-v4.0.2" CC, the exact same one you are using?

You can also try 0.80_02 https://metacpan.org/pod/release/BULKDD/Win32-API-0.80_02/API.pm and send me the *32 bit* API.dll that is compiled.