Skip Menu |

This queue is for tickets about the Win32-API CPAN distribution.

Report information
The Basics
Id: 6757
Status: resolved
Priority: 0/
Queue: Win32-API

People
Owner: Nobody in particular
Requestors: dfaure [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.40
Fixed in: (no value)



Subject: Win32::API::Struct->sizeof() seems not to compute correctly struct size when nesting them
Please report to http://www.perlmonks.org/index.pl?node_id=369601 for a description of the problem. Best regards, Dominique
On Fri Jun 25 09:45:47 2004, guest wrote: Show quoted text
> Please report to http://www.perlmonks.org/index.pl?node_id=369601 for > a description of the problem. > > Best regards, > Dominique
Running the code on perlmonks in 0.72 I got Show quoted text
_______________________________________________ sizeof('POINT') = 8 sizeof('CURSORINFO') = 20 sizeof('MYSTRUCT') = 12
_______________________________________________ on perlmonks you said you got
_______________________________________________ sizeof('POINT') = 8 sizeof('CURSORINFO') = 16 sizeof('MYSTRUCT') = 12
_______________________________________________ DWORD cbSize; 4 DWORD flags; 4 HANDLE hCursor; 4 POINT ptScreenPos; -> LONG x; 4 LONG y; 4 = 20 So I believe this has been already fixed so I am closing this bug.