Jump to content

problem of combo script Compiling 64 bit


jl56
 Share

Recommended Posts

Hello

the combo of my script is not developed when the script is compiled in 64 bit. the same script compiled in 32 bit works.

sample:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GUIConstantsEx.au3>
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Form1", 633, 454, 192, 114)
Global $Combo1 = GUICtrlCreateCombo("Combo1", 136, 250, 300, 25)
GUICtrlSetData(-1, "item2|item3", "item3")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
 $nMsg = GUIGetMsg()
 Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit

 EndSwitch
WEnd

I check this script on Windows Server 2008 R2 64bit

Thank you for your help

JL56

Link to comment
Share on other sites

Try this:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
 #include <GUIConstantsEx.au3>

#region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Form1", 633, 454, 192, 114)
Global $Combo1 = GUICtrlCreateCombo("Combo1", 136, 250, 300, 150)
GUICtrlSetData($Combo1, "item2|item3", "item3")
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...