Modify

Opened 12 years ago

Closed 12 years ago

#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 Changed 12 years ago by jchd

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

comment:2 Changed 12 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

jchd is correct. Closing as no bug.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.