Sign in to follow this  
Followers 0
fxg4758

[Resolved] Error DotNetIdentification.au3 / Anygui.au3

3 posts in this topic

#1 ·  Posted (edited)

Hi all. I made a program that need the files <DotNetIdentification.au3> and <anygui.au3>. But, the program have these errors every time i try to compile the program:

C:\Program Files\AutoIt3\Include\Constants.au3(422,48) : ERROR: $PROCESS_VM_OPERATION previously declared as a 'Const'

Global Const $PROCESS_VM_OPERATION = 0x00000008

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\Include\Constants.au3(423,43) : ERROR: $PROCESS_VM_READ previously declared as a 'Const'

Global Const $PROCESS_VM_READ = 0x00000010

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\Include\Constants.au3(424,44) : ERROR: $PROCESS_VM_WRITE previously declared as a 'Const'

Global Const $PROCESS_VM_WRITE = 0x00000020

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\Include\Constants.au3(431,46) : ERROR: $PROCESS_ALL_ACCESS previously declared as a 'Const'

Global Const $PROCESS_ALL_ACCESS = 0x001F0FFF

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\rui amado.EMEA7\Desktop\11\Alfa1.au3 - 4 error(s), 0 warning(s)

Can someone say what it means or why this happens? If i remove the anygui.au3, the program works fine.

Thanks!

Edited by fxg4758

Share this post


Link to post
Share on other sites



Check to see if you have declared a constant variable in your script and then see if it is also declared in one of the include files. All you have to do is remove the variable from the main script.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

Check to see if you have declared a constant variable in your script and then see if it is also declared in one of the include files. All you have to do is remove the variable from the main script.

Thanks dantay9. Your post is right. I edit the DotNetIdentification.au3 and now all is running fine. :)

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