rdwray Posted March 6, 2012 Share Posted March 6, 2012 I keep getting the following Obfuscation Error:-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script.>### current Func: _WinAPI_SetLayeredWindowAttributesC:\Program Files (x86)\AutoIt3\include\WinAPI.au3(5364,1) Warning for line:$i_transcolor = Execute('0x00' & StringMid($i_transcolor, 5, 2) & StringMid($i_transcolor, 3, 2) & StringMid($i_transcolor, 1, 2))-#############################################################################################-#### Obfuscator Found 1 Error(s)!!!! This means your script could have problems running properly. ####-#############################################################################################+> Obfuscator v1.0.28.7 finished obfuscating 21303 lines, stripped 32874 comment lines. created:F:\Backup\AutoIt\Projects\PowerOpt\PowerOpt_Obfuscated.au3 “No other God have I but Thee; born in a manger, died on a tree.” Martin Luther Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 6, 2012 Moderators Share Posted March 6, 2012 rdwray,You and everyone else! Please read the Obfuscator thread fully to see same explanation given many, many times. Basically because certain functions take a literal or (as here) concatenated string as a parameter, Obfuscator cannot reliably determine what the final result will be and so may make errors when obfuscating - hence the warning. Note the warning says "could have problems" - in this case I imagine you could ignore it as the final result is a number and not the name of another variable. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
rdwray Posted March 6, 2012 Author Share Posted March 6, 2012 rdwray, You and everyone else! Please read the Obfuscator thread fully to see same explanation given many, many times. Basically because certain functions take a literal or (as here) concatenated string as a parameter, Obfuscator cannot reliably determine what the final result will be and so may make errors when obfuscating - hence the warning. Note the warning says "could have problems" - in this case I imagine you could ignore it as the final result is a number and not the name of another variable. M23 The script runs fine, just wanted to let someone know I was getting it. Took a look at the thread and, like anything else, everything can not be covered because of the flexibility. It is an excellent tool. As far as having problems: the first time I compiled without obfuscator the .exe failed; after using it, the script ran fine; something to be said for that. “No other God have I but Thee; born in a manger, died on a tree.” Martin Luther 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