Jump to content

When I try compile in beta , it is giving error


 Share

Recommended Posts

First of all ı'm sorry for my bad english.

I am using some new code in beta because of this ı am trying to compile in beta but give this error.

- Invalid Obfuscator option:

-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script.

>### current Func: _WinAPI_SetLayeredWindowAttributes

C:\Program Files\AutoIt3\Beta\include\WinAPI.au3(5470,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. ####

-#############################################################################################

Link to comment
Share on other sites

Just read what's written there.

The problem is caused by ProgAndy's choice to use Execute() function while converting BGR to RGB.

If you don't like that there are few more ways posted around to do the conversion. Just search. But, here's another (me use). Replace within _WinAPI_SetLayeredWindowAttributes():

$i_transcolor = Hex(String($i_transcolor), 6)
$i_transcolor = Execute('0x00' & StringMid($i_transcolor, 5, 2) & StringMid($i_transcolor, 3, 2) & StringMid($i_transcolor, 1, 2))

with:

$i_transcolor = Dec(Hex(BinaryMid($i_transcolor, 1, 3)))

and there wouldn't be any more warnings by obfuscator.

Edited by trancexx

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

Just read what's written there.

The problem is caused by ProgAndy's choice to use Execute() function while converting BGR to RGB.

If you don't like that there are few more ways posted around to do the conversion. Just search. But, here's another (me use). Replace within _WinAPI_SetLayeredWindowAttributes():

$i_transcolor = Hex(String($i_transcolor), 6)
$i_transcolor = Execute('0x00' & StringMid($i_transcolor, 5, 2) & StringMid($i_transcolor, 3, 2) & StringMid($i_transcolor, 1, 2))

with:

$i_transcolor = Dec(Hex(BinaryMid($i_transcolor, 1, 3)))

and there wouldn't be any more warnings by obfuscator.

Thx obfuscator doesn't givw error anymore.

But program is working good by run script (beta) but program isn't working when compiled.

İt is gving error Line = -1 Unknown Func.

Link to comment
Share on other sites

Your script works fine for me. You just trying to compile it for AutoIt 3.3.0.0. InetClose() does not available in this version.

EDIT:

Try to use Aut2exe.exe from AutoIt 3.3.x.x (Beta).

Edited by Yashied
Link to comment
Share on other sites

Your script works fine for me. You just trying to compile it for AutoIt 3.3.0.0. InetClose() does not available in this version.

EDIT:

Try to use Aut2exe.exe from AutoIt 3.3.x.x (Beta).

How can ı do this ?

I am compiling it for autoit beta but it is giving error always(beta or 3.3.0.0)

Link to comment
Share on other sites

Link to comment
Share on other sites

Link to comment
Share on other sites

Not working.I must go now.Thx for help man.

Line = -1

Unknown Function

I have the feeling that you use CTRL+F7 when compiling the script instead of ALT+F7 on Scite?

Correct me if I'm wrong...

Edit: grammar

Edited by nfaustin
[font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font]
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...