Mon Jul 12 11:36:22 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 >
Hi Stephen,
I have just notice you patches commited to github.
I completely agree with the patch fixing pointer length but as for the changes
in Types.pm we have also to fixed the following items which have sizeof(<item>)
== 4 on Win32 however sizeof(<item>) == 8 on Win64 (not all of them are
technically pointers):
HACCEL
HANDLE
HBITMAP
HBRUSH
HCOLORSPACE
HCONV
HCONVLIST
HCURSOR
HDC
HDDEDATA
HDESK
HDROP
HDWP
HENHMETAFILE
HFONT
HGDIOBJ
HGLOBAL
HHOOK
HICON
HIMC
HINSTANCE
HKEY
HKL
HLOCAL
HMENU
HMETAFILE
HMODULE
HPALETTE
HPEN
HRGN
HRSRC
HSZ
HWINSTA
HWND
LPARAM
LRESULT
SC_HANDLE
SC_LOCK
SERVICE_STATUS_HANDLE
SIZE_T
SSIZE_T
UINT_PTR
WPARAM
We should probably introduce another type "nickname" e.g. _L for 64 bit "long
long" (just proposal following your convention "P" vs. "_P")
--
kmx