Modify

Opened 16 years ago

Closed 16 years ago

#1165 closed Bug (Fixed)

_GUICtrlComboBoxEx_AddString as 64bit Script

Reported by: yetrael@… Owned by:
Milestone: 3.3.1.2 Component: AutoIt
Version: 3.3.1.1 Severity: None
Keywords: Cc:

Description

This piece of Code crashes when compiled as x64 script, on x86 everythiung works fine:

#include <GuiComboBoxEx.au3>
#include <GuiConstantsEx.au3>

$Debug_CB = True ; Check ClassName being passed to ComboBox/ComboBoxEx functions, set to True and use a handle to another control to see it work

$hGUI = GUICreate("ComboBoxEx Add String", 400, 300)
$hCombo = _GUICtrlComboBoxEx_Create($hGUI, "", 2, 2, 394, 100)
GUISetState()

_GUICtrlComboBoxEx_BeginUpdate($hCombo)
_GUICtrlComboBoxEx_AddString($hCombo, "Work")
_GUICtrlComboBoxEx_AddString($hCombo, "Game")
_GUICtrlComboBoxEx_AddString($hCombo, "Crash")
_GUICtrlComboBoxEx_EndUpdate($hCombo)

Do
    Sleep(50)
Until GUIGetMsg() = $GUI_EVENT_CLOSE

Scite ouput gives this:

>Running:(3.3.1.1):C:\Program Files\System und Tools\AutoIt\beta\autoit3_x64.exe "C:\Program Files\System und Tools\Shell Extension\SysControl\64bit\Problem.au3"    
!===========================================================
+======================================================
-->Line(0182):  This is for debugging only, set the debug variable to false before submitting
+======================================================
!===========================================================
+======================================================
-->Line(0182):  This is for debugging only, set the debug variable to false before submitting
+======================================================
!===========================================================
+======================================================
-->Line(0182):  This is for debugging only, set the debug variable to false before submitting
+======================================================
!===========================================================
+======================================================
-->Line(0182):  This is for debugging only, set the debug variable to false before submitting
+======================================================
!>10:46:04 AutoIT3.exe ended.rc:-1073740771
+>10:46:06 AutoIt3Wrapper Finished
>Exit code: -1073740771    Time: 1.799

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.1.2
Resolution: Fixed
Status: newclosed

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.