Jump to content

Compiled Gui Restarts on exit on win8.1


reb
 Share

Go to solution Solved by reb,

Recommended Posts

When I compile this scrpt it does not exit properly.  It repeats its self once more then exits properly when closed again.

Can any one repeat this problem and find a solution?  I am using Autoit version 33.12.0 in win 8.1 64x

REB

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=test.exe
#AutoIt3Wrapper_Compression=4
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
;~ MsgBox(0,@,@AutoItVersion) ; I am using version 33.12.0  in win 8.1 64x

Local $Form2, $PageControl1, $TabSheet1, $rules, $TabSheet2, $phases, $TabSheet3, $Definitions, $nMsg, $Operation

$Form2 = GUICreate("PHASE 10 HELP", 1048, 521, 211, 150)
GUISetFont(12, 400, 0, "MS Sans Serif")
GUISetBkColor(0x193477)
$PageControl1 = GUICtrlCreateTab(5, 8, 1036, 504)
$TabSheet1 = GUICtrlCreateTabItem("Rules")
$rules = GUICtrlCreateEdit("", 12, 35, 1017, 475, BitOR($ES_AUTOVSCROLL, $ES_READONLY, $ES_WANTRETURN, $WS_VSCROLL)) ;67
GUICtrlSetFont(-1, 14, 600, 0, "Arial")
$TabSheet2 = GUICtrlCreateTabItem("Phases")
$phases = GUICtrlCreateEdit("", 12, 35, 1017, 475, BitOR($ES_AUTOVSCROLL, $ES_READONLY, $ES_WANTRETURN, $WS_VSCROLL)) ;457
GUICtrlSetFont(-1, 14, 600, 0, "Arial")
$TabSheet3 = GUICtrlCreateTabItem("Definitions")
$Definitions = GUICtrlCreateEdit("", 12, 35, 1017, 475, BitOR($ES_AUTOVSCROLL, $ES_READONLY, $ES_WANTRETURN, $WS_VSCROLL)) ;48   449
GUICtrlSetFont(-1, 14, 600, 0, "Arial")
$TabSheet4 = GUICtrlCreateTabItem("Operation")
$Operation = GUICtrlCreateEdit("", 12, 35, 1017, 475, BitOR($ES_AUTOVSCROLL, $ES_WANTRETURN, $WS_VSCROLL)) ;67  $ES_READONLY,
GUICtrlSetFont(-1, 14, 600, 0, "Arial")

GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            ExitLoop
            Sleep(10)
    EndSwitch
WEnd
Exit

MEASURE TWICE - CUT ONCE

Link to comment
Share on other sites

  • Moderators

I compiled with the latest stable on 8.1, and cannot reproduce the issue. I also compiled with 3.3.13.18, and could not reproduce either. What version of AutoIt are you running?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

I cannot confirm your problem! Tested on Win 8.1 x64 running the code in x86 / x64 mode, using 3.3.12.0 / 3.3.13.19 and it exits properly.

 

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Thanks guys.  It seems to be a machine problem. I will just have to eliminate things and see if I can find it.

REB

edit: new computer Lenovo G510 w/ Bluetooth Mouse and bluetooth head phones.

Edited by reb

MEASURE TWICE - CUT ONCE

Link to comment
Share on other sites

  • 4 months later...

Seems that laptop is giving you all sorts of issues.

I compiled with the latest stable on 8.1

 

Same, cannot reproduce.

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

  • Moderators

reb, glad you resolved it - though I don't know as I would ever mark two OS reinstalls as "the best answer" to any problem ;)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • 1 month later...

I had the same problem (Win7 x64, but compiling for both x86 and x64), this solved it: '?do=embed' frameborder='0' data-embedContent>>

It seems that Avast has the nasty habit of pre-running unknown programs, then - after silently verifiying they contain no threats - running them again.

BTW, it also took forever for the script to start.

Hope that helps.

Edited by giocc
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

×
×
  • Create New...