Opened 13 years ago

Last modified 11 years ago

#2066 closed Bug

bad dllStructSetData return for int — at Version 1

Reported by: Jpm Owned by:
Milestone: 3.3.9.21 Component: AutoIt
Version: 3.3.6.1 Severity: None
Keywords: Cc:

Description (last modified by Jpm)

running the following script show a little discrepancy of a int64 return instead of an int32

Local $struct = DLLStructCreate("int")
$n=DllStructSetData($struct,1,1)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $n = ' & $n & " " & VarGettype($n) & @crlf & '>Error code: ' & @error & '    Extended code: 0x' & Hex( @extended) & @crlf) ;### Debug Console
$n=DLLStructGetData($struct,1)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $n = ' & $n & " " & VarGettype($n) & @crlf & '>Error code: ' & @error & '    Extended code: 0x' & Hex( @extended) & @crlf) ;### Debug Console

same under beta 23

Environment(Language:040C Keyboard:0000040C OS:WIN_7/Service Pack 1 CPU:X64 OS:X86)

Change History (1)

comment:1 Changed 13 years ago by Jpm

  • Description modified (diff)
Note: See TracTickets for help on using tickets.