Modify

Opened 15 years ago

Closed 15 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 Changed 15 years ago by Jpm

  • Milestone set to 3.3.1.2
  • Resolution set to Fixed
  • Status changed from new to closed

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.