reb Posted September 12, 2014 Posted September 12, 2014 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 expandcollapse popup#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
Moderators JLogan3o13 Posted September 12, 2014 Moderators Posted September 12, 2014 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!
UEZ Posted September 12, 2014 Posted September 12, 2014 (edited) 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 September 12, 2014 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
reb Posted September 12, 2014 Author Posted September 12, 2014 (edited) I am using Autoit version 3.3.12.0 in win 8.1 64x REB Edited September 19, 2014 by reb MEASURE TWICE - CUT ONCE
reb Posted September 14, 2014 Author Posted September 14, 2014 (edited) 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 September 14, 2014 by reb MEASURE TWICE - CUT ONCE
Solution reb Posted January 22, 2015 Author Solution Posted January 22, 2015 after restoring the operating system TWICE the problem went away. Go figure MEASURE TWICE - CUT ONCE
MikahS Posted January 22, 2015 Posted January 22, 2015 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 ~ getENVvarsMy 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
Moderators JLogan3o13 Posted January 22, 2015 Moderators Posted January 22, 2015 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 MikahS 1 "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!
reb Posted January 22, 2015 Author Posted January 22, 2015 JLogan3o13 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 Actrually the restarts were fo other reasons but I'm glad it disapeared. REB MEASURE TWICE - CUT ONCE
giocc Posted February 23, 2015 Posted February 23, 2015 (edited) 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 February 23, 2015 by giocc
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now