[rt.cpan.org #55660] [PATCH] Partial win64 support for Win32::API

[email protected] ("kmx via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Tue Jul 13 09:37:25 2010: Request 55660 was acted upon.
Transaction: Correspondence added by KMX
       Queue: Win32-API
     Subject: [PATCH] Partial win64 support for Win32::API
   Broken in: (no value)
    Severity: (no value)
       Owner: COSIMO
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55660 >


Latest progress with Win32::API

1/ I have commited another set of small changes fixing 64bit-pointer-size
issues

2/ we have still t/03_undef.t failing sometimes (surprisingly on ActivePerl not
on Strawberry Perl - at least on my Win7 box)

3/ a new issue appeared in Struct.pm - after Stephen added another DWORD_PTR
item in testing structure it turned out that implemented alignment in C struct
packing (see "sub getPack" in Struct.pm) does not work properly as the
algorithm aligns all stuct items to the size of the biggest one - which is
simply not correct (but works in some cases). My investigation revealed that C
struct alignment is kind of "dark magic" (now you can observe this on failing
tests 6-7 in t/01_Struct.t - just on32bit!!; on 64bit the alignment is
"accidentally" calculated correctly)

That is all from me. For a while I will not be able to work on this RT (all I
have done is either commited in github or described here).

--
kmx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.