[rt.cpan.org #76368] rewrote Win32

[email protected] ("patcat via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Sat Apr 07 03:25:56 2012: Request 76368 was acted upon.
Transaction: Ticket created by patcat88
       Queue: Win32
     Subject: rewrote Win32
   Broken in: 0.44
    Severity: Wishlist
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=76368 >


The Win32 library's XS code looked very bloated to me. So I rewrote it.
I also added delay loading of DLLs in VC and GCC (Perl on VC delay loads
Winsock already, so its been done before). Apply it to a copy of Win32
0.44. My version I labeled as 0.45. Changes file doesn't have a date for
my entry. I also added alot of new tests. I ran the new tests again 0.44
and they all passed (I think). The 0.44 tests dont pass on Windows ME.
My tests passed on Windows ME. Test suite was run on WinXP and WinME.
Compiling combinations I tested it with were x86 ActivePerl 5.10, x86
homebrewed VC Perl 5.12, x86 Strawberry 5.12, x64 ActivePerl 5.14, x64
Strawberry 5.14. x86 non Strawberry Perls were VC 2003. x64 non
Strawberry Perls were VC 2008. Note Cygwin is missing from the list. So
I have no idea if my patch will compile on Cygwin. Strawberry Perls were
whatever GCC they came with. The code authors of my patch is me and some
public domain code, verified with author. The license of my patch is
same as perl I guess. Can you apply it or is there something things I
need to fix?

My only design idea I didn't implement is making the mini C DLL importer
(called getImports in the code) available to other XS libraries to use.
I dont know if its worth it.
Win32.0.45.patch (application/octet-stream, 172.1 KB) - not displayed
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.