Sign in to follow this  
Followers 0
Anchen

When I try compile in beta , it is giving error

17 posts in this topic

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. ####

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

C:\Program Files\AutoIt3\Beta\Aut2Exe

Beta and 3.3.0.0 it is giving error :S :

When you run scirpt from au3 working good.But when compiled , giving Line = -1 error

Edited by Anchen

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Share this post


Link to post
Share on other sites

Can you compile it ? İs this error only at my computer or a bug ???

Share this post


Link to post
Share on other sites

I reinstalled autoit but again error >_<

thx for help

Share this post


Link to post
Share on other sites

I compiled your script. Try.

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

Line = -1

Unknown Function

Share this post


Link to post
Share on other sites

Anyone can solve this problem ???????

Or when ı am using autoit prod , how can ı do @ınetbytesread "0" after a download.

Share this post


Link to post
Share on other sites

Anyone can solve this problem ???????

Or when ı am using autoit prod , how can ı do @ınetbytesread "0" after a download.

It's already solved. You'll just have to wait for the new beta to come out.

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

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]

Share this post


Link to post
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
Sign in to follow this  
Followers 0