Modify ↓
Opened on Jan 8, 2012 at 6:17:08 AM
Closed on Jan 9, 2012 at 3:09:57 AM
#2093 closed Bug (No Bug)
DllStructGetSize reports wrong size
| Reported by: | 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:2 by , on Jan 9, 2012 at 3:09:57 AM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
jchd is correct. Closing as no bug.
Note:
See TracTickets
for help on using tickets.

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