Sign in to follow this  
Followers 0
Seminko

IE.au3 compile error

8 posts in this topic

#1 ·  Posted (edited)

Hey @DaleHohm, @big_daddy, @jpm

I don't seem to be able to compile a script with IE.au3 included.

Here's what the console says:

>Running Au3Stripper (16.612.1119.0)  from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline:
-### StripOnly/StripFunc Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function.
>### current Func: __ieinternalerrorhandlerderegister
c:\program files (x86)\autoit3\include\ie.au3(2571,1): Warning for line:$__g_oIEErrorHandler = ObjEvent("AutoIt.Error", $__g_sIEUserErrorHandler) 

-#############################################################################################
-#### Au3Stripper Found   1 Error(s)!!!!    This means your script could have problems running properly.  ####
-#############################################################################################
- 6.38 Iteration 1 Strip Functions result: Output  8977 lines, stripped 15631 Func lines and 15111 Commentlines
- 19.53 Iteration 2 Strip Variables result: Output  2511 lines and stripped 6466 lines
- 20.22 Iteration 3 Strip Variables result: Output  2252 lines and stripped 259 lines
- 20.78 Iteration 4 Strip Variables result: Output  2237 lines and stripped 15 lines
- 21.34 Iteration 5 Strip Variables result: Output  2236 lines and stripped 1 lines
+> Source    40378 lines 1797919 Characters.
+> Stripped  22372 Func/Var lines and  15111 comment lines, Total 1706638 Characters.
+> Saved     92% lines 94% Characters.
+> 0 Au3Stripper v16.612.1119.0 finished created:***.au3
+>18:36:39 Au3Stripper ended.rc:0
>Running AU3Check (3.3.14.2)  from:C:\Program Files (x86)\AutoIt3  input:***.au3
"***.au3"(1028,56) : warning: $__gaIEAU3VersionInfo: possibly used before declaration.
Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] &
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"***.au3"(1028,56) : error: $__gaIEAU3VersionInfo: undeclared global variable.
Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] &
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
***.au3 - 1 error(s), 1 warning(s)

Any ideas?

Thanks

Edited by Seminko

Share this post


Link to post
Share on other sites



Can you please post your actual script, so we aren't guessing at what you're trying to do?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

If I understand the console log correctly the errors have nothing to do with my script.

These relate to IE.au3 only.

"***.au3"(1028,56) : warning: $__gaIEAU3VersionInfo: possibly used before declaration.
Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] &
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"***.au3"(1028,56) : error: $__gaIEAU3VersionInfo: undeclared global variable.
Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] &
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

 

Share this post


Link to post
Share on other sites

What version of AutoIt (and hence, IE.au3) are you using? Literally thousands of users use IE functions every day (myself included) with no errors. If the issue had nothing to do with your script, common sense would dictate others would be seeing it too. Whether the issue is with your script, with the stripper functions, or somewhere in between, the more information you provide, the better suited we are to assist ;)

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

I have recently updated to the newest version.

I use IE.au3 with no errors as well. The script works just fine. But when I use Stripper and try to compile it states the above mentioned errors.

Share this post


Link to post
Share on other sites

No problem :)


UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI=

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