Modify

#2093 closed Bug (No Bug)

DllStructGetSize reports wrong size

Reported by: jbutera@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.8.0 Severity: None
Keywords: DllStructCreate DllStructGetSize Cc:

Description

$test = DllStructCreate("dword;char")
ConsoleWrite("size "&DllStructGetSize($test))

outputs "size 8", for both x64 and x86
the correct size should be 5

Attachments (0)

Change History (2)

comment:1 by jchd, on Jan 8, 2012 at 1:55:05 PM

Wrong assumption. Alignment and padding make 8 the right size for this struct.
This question belongs to the Help Forum, not here.

comment:2 by Valik, on Jan 9, 2012 at 3:09:57 AM

Resolution: No Bug
Status: newclosed

jchd is correct. Closing as no bug.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.