Jump to content

different behavior. a combo compiles x64 or x86


Recommended Posts

Hello all

I have a strange problem I am developing a script to make backups with wbadmin

and if I compile the script in x64 combos (eg for the selection of players) does not develop, so that it works in x86!

The combo displays a kind of shadow in the same manner as if it is empty.

by selecting it may have to scroll its contents.

I test these scripts on a server 2008 R2 64bit

thank you for your answers

soon

JL56

#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

sorry I do not speak English, I'm french I translated this message with google

texte en francais

Bonjour à tous

J'ai un problème curieux je développe un script pour faire des sauvegardes avec wbadmin

et si je compile le script en x64 les combos ( ex pour le choix des lecteurs ) ne se développe pas , alors que en x86 cela fonctionne!

La combo affiche une sorte d'ombre de la même façon que si elle est vide.

en la sélectionnant ont peut faire défiler son contenu avec les fleches.

je test ces scripts sur un serveur 2008 R2 64 bit

Link to comment
Share on other sites

  • 2 months later...

I thought I was just crazy. I'm seeing the exact same thing when compiling the script using x64 vs x86. Running through Scite it works great, compiling as x86 it works great, compiling under x64 gives the empty drop down but you can still scroll through the entries. I'm using Win7 x64.

Is there something I'm missing in creating these combo boxes, or is there documentation that explains this behavior away?

Link to comment
Share on other sites

I thought I was just crazy. I'm seeing the exact same thing when compiling the script using x64 vs x86. Running through Scite it works great, compiling as x86 it works great, compiling under x64 gives the empty drop down but you can still scroll through the entries. I'm using Win7 x64.

Is there something I'm missing in creating these combo boxes, or is there documentation that explains this behavior away?

You should update your AutoIt.

In some previous releases devs somehow managed to publish 64bit executables without required manifests (that would be RT_MANIFEST resources). ...It happens.

Issue people are experiencing in that case is related to

name="Microsoft.Windows.Common-Controls" version="6.0.0.0"
part of the manifest (lack of it).

Shorter; No manifest - no v6 controls.

Edited by trancexx

♡♡♡

.

eMyvnE

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...