LWC Posted May 19, 2011 Share Posted May 19, 2011 As per Jos' tracker request, here's the relevant discussion.Please allow something like #AutoIt3Wrapper_outfile64=myfile_x64.exe.Enabling the "Use X64" checkbox would use this.Disabling the "Use X64" checkbox would use the regular #AutoIt3Wrapper_outfile. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 20, 2011 Developers Share Posted May 20, 2011 This is what I am thinking about doing but am open to other thoughts:Add new directives:#AutoIt3Wrapper_Compile_both= ; y/n n=default #AutoIt3Wrapper_OutFile_x64= ;file name to use for an x64 compilation)When #AutoIt3Wrapper_Compile_both=y and nothing else is defined then use these EXE names:Scriptname.exeScriptname_x64.exeWhen #AutoIt3Wrapper_OutFile=Outfile.exe is defined use:Outfile.exeOutfile_x64.exeWhen #AutoIt3Wrapper_OutFile_x64=Outfilex64.exe is defined use:Scriptname.exe -or- Outfile.exe (depending if #AutoIt3Wrapper_OutFile is present)Outfilex64.exeThoughts/suggestions/other ideas? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
guinness Posted May 20, 2011 Share Posted May 20, 2011 I'm happy the way it is first of all But #AutoIt3Wrapper_Compile_Both=Y would be a nice addition to the AutoIt3Wrapper. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
UEZ Posted May 20, 2011 Share Posted May 20, 2011 Here my workaround: #AutoIt3Wrapper_Run_Before=del /f /q "%scriptfile%_x64.exe" #AutoIt3Wrapper_Run_Before=del /f /q "%scriptfile%_x86.exe" #AutoIt3Wrapper_Run_Before=""%autoitdir%\aut2exe\aut2exe.exe" /in "%in%" /out "%scriptdir%\%scriptfile%_x64.exe" /nopack /x64" #AutoIt3Wrapper_UseX64=n #AutoIt3Wrapper_Run_After=ren "%out%" "%scriptfile%_x86.exe" ;dummy code below If @OSArch = "X86" Then MsgBox(0, "Architecture Type", "OS Architecture Type is x86", 10) Else MsgBox(0, "Architecture Type", "OS Architecture Type is x64", 10) EndIf Br, 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 More sharing options...
Developers Jos Posted May 22, 2011 Developers Share Posted May 22, 2011 Here my workaround:This will not do any resource updating and the wrong source is used when ran through Obfuscator.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 22, 2011 Developers Share Posted May 22, 2011 So can I conclude there isn't much interest to have this implemented seeing the lack of responses? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 So can I conclude there isn't much interest to have this implemented seeing the lack of responses? No no, we want it. Just because the handful of "advanced x64 AutoIt users" aren't very vocal doesn't mean we want to compile everything twice.I bet it wouldn't take you much time to implement anyway, who else know the innards of #AutoIt3Wrapper like you? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 Thoughts/suggestions/other ideas?I think that would be perfect. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
UEZ Posted May 22, 2011 Share Posted May 22, 2011 (edited) This will not do any resource updating and the wrong source is used when ran through Obfuscator.Jos I know but it should be only a rudimentaire workaround when you don't use any additional wrapper commands.So can I conclude there isn't much interest to have this implemented seeing the lack of responses? Well, currently I cannot see any benefit running AutoIt code in x64 but we should have the choice to compile in x86 and x64 at once anyway. It would be great if you can implement it.Br,UEZ Edited May 22, 2011 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 More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 Well, currently I cannot see any benefit running AutoIt code in x64Superior speed is one. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
UEZ Posted May 22, 2011 Share Posted May 22, 2011 (edited) Superior speed is one.Tell me which AutoIt code compiled in x64 is running much faster than in x86 mode.Br,UEZ Edited May 22, 2011 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 More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 All code. Also compatibility. Not using x64 is insane. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
UEZ Posted May 22, 2011 Share Posted May 22, 2011 (edited) I did some quick tests on some of my GDI+ examples and some of them compiled in x64 are approx. 20% faster. It it not superior faster but faster. Br, UEZ Edited May 22, 2011 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 More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 Maybe superior isn't the right word, but AutoIt is a snail so a 20% increase is alot. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
wraithdu Posted May 22, 2011 Share Posted May 22, 2011 Performance is not my primary concern, but compatibility with x64 DLLs and better compatibility with registry/file redirection are. Link to comment Share on other sites More sharing options...
GEOSoft Posted May 22, 2011 Share Posted May 22, 2011 To get this thread back on topic. Jos This is one of those things I was going to ask you about and just did not get around to it. Whatever implementation you decide on should be fine as long as the end result is dual compile. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Developers Jos Posted May 24, 2011 Developers Share Posted May 24, 2011 New beta uploaded see this post for details: Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
GEOSoft Posted May 24, 2011 Share Posted May 24, 2011 Thank you my good man. I shall test drive this for a bit and let you know how it is working for me. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
JFX Posted May 24, 2011 Share Posted May 24, 2011 Thanks for the new option. But how to use #AutoIt3Wrapper_Run_After now with compiling both at same time? Can we get a %out64% variable? Link to comment Share on other sites More sharing options...
Developers Jos Posted May 24, 2011 Developers Share Posted May 24, 2011 Thanks for the new option.But how to use #AutoIt3Wrapper_Run_After now with compiling both at same time? Can we get a %out64% variable?Noted that down to include in the next Beta as that is easy to include.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
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