Modify

Opened 16 years ago

Closed 16 years ago

#1323 closed Bug (Fixed)

Wrong size of some types in DllStructCreate()

Reported by: trancexx Owned by: Valik
Milestone: 3.3.1.7 Component: Documentation
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

Documentation says that the size of 'ptr' with DllStructCreate() is 4 bytes and unlike with, for example, 'int_ptr' there is no mention of differences when x64 AutoIt is used.
I would assume it's the same thing with other alike types.

$tStructure = DllStructCreate("ptr")
$iSize = DllStructGetSize($tStructure)

ConsoleWrite("Size of ptr = " & $iSize & " bytes" & @CRLF)
MsgBox(64, "ptr", "Size = " & $iSize)

Link to the post with the results of that test http://www.autoitscript.com/forum/index.php?showtopic=105150&view=findpost&p=749787.

Change History (1)

comment:1 Changed 16 years ago by Valik

  • Milestone set to 3.3.1.7
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5436] in version: 3.3.1.7

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

Author


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

 
Note: See TracTickets for help on using tickets.