Sign in to follow this  
Followers 0
AndreyS

Error after update release

12 posts in this topic

Good day!
After the transition to the latest release first v3.3.10.0 get some errors. They appear when I use Resources.au3. Can you please tell how to fix?
 
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(18,37) : error: $SND_ASYNC previously declared as a 'Const'.
Global Const $SND_ASYNC = 0x00000001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(20,36) : error: $SND_LOOP previously declared as a 'Const'.
Global Const $SND_LOOP = 0x00000008
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(21,38) : error: $SND_MEMORY previously declared as a 'Const'.
Global Const $SND_MEMORY = 0x00000004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(23,38) : error: $SND_NOSTOP previously declared as a 'Const'.
Global Const $SND_NOSTOP = 0x00000010
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(24,38) : error: $SND_NOWAIT previously declared as a 'Const'.
Global Const $SND_NOWAIT = 0x00002000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(25,37) : error: $SND_PURGE previously declared as a 'Const'.
Global Const $SND_PURGE = 0x00000040
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(26,40) : error: $SND_RESOURCE previously declared as a 'Const'.
Global Const $SND_RESOURCE = 0x00040004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIMiscConstants.au3"(28,36) : error: $SND_SYNC previously declared as a 'Const'.
Global Const $SND_SYNC = 0x00000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(15,33) : error: $RT_ACCELERATOR previously declared as a 'Const'.
Global Const $RT_ACCELERATOR = 9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(16,32) : error: $RT_ANICURSOR previously declared as a 'Const'.
Global Const $RT_ANICURSOR = 21
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(17,30) : error: $RT_ANIICON previously declared as a 'Const'.
Global Const $RT_ANIICON = 22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(18,28) : error: $RT_BITMAP previously declared as a 'Const'.
Global Const $RT_BITMAP = 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(19,28) : error: $RT_CURSOR previously declared as a 'Const'.
Global Const $RT_CURSOR = 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(20,28) : error: $RT_DIALOG previously declared as a 'Const'.
Global Const $RT_DIALOG = 5
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(21,33) : error: $RT_DLGINCLUDE previously declared as a 'Const'.
Global Const $RT_DLGINCLUDE = 17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(22,26) : error: $RT_FONT previously declared as a 'Const'.
Global Const $RT_FONT = 8
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(23,29) : error: $RT_FONTDIR previously declared as a 'Const'.
Global Const $RT_FONTDIR = 7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(24,35) : error: $RT_GROUP_CURSOR previously declared as a 'Const'.
Global Const $RT_GROUP_CURSOR = 12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(25,33) : error: $RT_GROUP_ICON previously declared as a 'Const'.
Global Const $RT_GROUP_ICON = 14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(26,27) : error: $RT_HTML previously declared as a 'Const'.
Global Const $RT_HTML = 23
~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(27,26) : error: $RT_ICON previously declared as a 'Const'.
Global Const $RT_ICON = 3
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(28,31) : error: $RT_MANIFEST previously declared as a 'Const'.
Global Const $RT_MANIFEST = 24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(29,26) : error: $RT_MENU previously declared as a 'Const'.
Global Const $RT_MENU = 4
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(30,35) : error: $RT_MESSAGETABLE previously declared as a 'Const'.
Global Const $RT_MESSAGETABLE = 11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(31,31) : error: $RT_PLUGPLAY previously declared as a 'Const'.
Global Const $RT_PLUGPLAY = 19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(32,29) : error: $RT_RCDATA previously declared as a 'Const'.
Global Const $RT_RCDATA = 10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(33,28) : error: $RT_STRING previously declared as a 'Const'.
Global Const $RT_STRING = 6
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(34,30) : error: $RT_VERSION previously declared as a 'Const'.
Global Const $RT_VERSION = 16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\APIResConstants.au3"(35,26) : error: $RT_VXD previously declared as a 'Const'.
Global Const $RT_VXD = 20
~~~~~~~~~~~~~~~~~~~~~~~~~^

 

Share this post


Link to post
Share on other sites



Can you please post all "#include" statements you have in your script?

1 person likes this

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Connected  Resources.au3 after all other files. Now produces errors in the file Resources.au3

"D:\Program Files\AutoIt3\Include\Resources.au3"(9,28) : error: $RT_CURSOR previously declared as a 'Const'.
Global Const $RT_CURSOR = 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(10,28) : error: $RT_BITMAP previously declared as a 'Const'.
Global Const $RT_BITMAP = 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(11,26) : error: $RT_ICON previously declared as a 'Const'.
Global Const $RT_ICON = 3
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(12,26) : error: $RT_MENU previously declared as a 'Const'.
Global Const $RT_MENU = 4
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(13,28) : error: $RT_DIALOG previously declared as a 'Const'.
Global Const $RT_DIALOG = 5
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(14,28) : error: $RT_STRING previously declared as a 'Const'.
Global Const $RT_STRING = 6
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(15,29) : error: $RT_FONTDIR previously declared as a 'Const'.
Global Const $RT_FONTDIR = 7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(16,26) : error: $RT_FONT previously declared as a 'Const'.
Global Const $RT_FONT = 8
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(17,33) : error: $RT_ACCELERATOR previously declared as a 'Const'.
Global Const $RT_ACCELERATOR = 9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(18,29) : error: $RT_RCDATA previously declared as a 'Const'.
Global Const $RT_RCDATA = 10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(19,35) : error: $RT_MESSAGETABLE previously declared as a 'Const'.
Global Const $RT_MESSAGETABLE = 11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(20,35) : error: $RT_GROUP_CURSOR previously declared as a 'Const'.
Global Const $RT_GROUP_CURSOR = 12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(21,33) : error: $RT_GROUP_ICON previously declared as a 'Const'.
Global Const $RT_GROUP_ICON = 14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(22,30) : error: $RT_VERSION previously declared as a 'Const'.
Global Const $RT_VERSION = 16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(23,33) : error: $RT_DLGINCLUDE previously declared as a 'Const'.
Global Const $RT_DLGINCLUDE = 17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(24,31) : error: $RT_PLUGPLAY previously declared as a 'Const'.
Global Const $RT_PLUGPLAY = 19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(25,26) : error: $RT_VXD previously declared as a 'Const'.
Global Const $RT_VXD = 20
~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(26,32) : error: $RT_ANICURSOR previously declared as a 'Const'.
Global Const $RT_ANICURSOR = 21
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(27,30) : error: $RT_ANIICON previously declared as a 'Const'.
Global Const $RT_ANIICON = 22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(28,27) : error: $RT_HTML previously declared as a 'Const'.
Global Const $RT_HTML = 23
~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(29,31) : error: $RT_MANIFEST previously declared as a 'Const'.
Global Const $RT_MANIFEST = 24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(31,40) : error: $SND_RESOURCE previously declared as a 'Const'.
Global Const $SND_RESOURCE = 0x00040004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(32,29) : error: $SND_SYNC previously declared as a 'Const'.
Global Const $SND_SYNC = 0x0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(33,30) : error: $SND_ASYNC previously declared as a 'Const'.
Global Const $SND_ASYNC = 0x1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(34,31) : error: $SND_MEMORY previously declared as a 'Const'.
Global Const $SND_MEMORY = 0x4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(35,29) : error: $SND_LOOP previously declared as a 'Const'.
Global Const $SND_LOOP = 0x8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(36,32) : error: $SND_NOSTOP previously declared as a 'Const'.
Global Const $SND_NOSTOP = 0x10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(37,34) : error: $SND_NOWAIT previously declared as a 'Const'.
Global Const $SND_NOWAIT = 0x2000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Program Files\AutoIt3\Include\Resources.au3"(38,31) : error: $SND_PURGE previously declared as a 'Const'.
Global Const $SND_PURGE = 0x40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Share this post


Link to post
Share on other sites

 

Connected  Resources.au3 after all other files

That's it. One of this "other files" contains the already defined constants.

1 person likes this

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Delete everything at the top of the script and add this...

 

#include-once
#include <APIConstants.au3>
#include <Constants.au3>
#include <GDIPlus.au3>
#include <Memory.au3>

_GDIPlus_Startup()

#cs
    Global Const $RT_CURSOR = 1
    Global Const $RT_BITMAP = 2
    Global Const $RT_ICON = 3
    Global Const $RT_MENU = 4
    Global Const $RT_DIALOG = 5
    Global Const $RT_STRING = 6
    Global Const $RT_FONTDIR = 7
    Global Const $RT_FONT = 8
    Global Const $RT_ACCELERATOR = 9
    Global Const $RT_RCDATA = 10
    Global Const $RT_MESSAGETABLE = 11
    Global Const $RT_GROUP_CURSOR = 12
    Global Const $RT_GROUP_ICON = 14
    Global Const $RT_VERSION = 16
    Global Const $RT_DLGINCLUDE = 17
    Global Const $RT_PLUGPLAY = 19
    Global Const $RT_VXD = 20
    Global Const $RT_ANICURSOR = 21
    Global Const $RT_ANIICON = 22
    Global Const $RT_HTML = 23
    Global Const $RT_MANIFEST = 24

    Global Const $SND_RESOURCE = 0x00040004
    Global Const $SND_SYNC = 0x0
    Global Const $SND_ASYNC = 0x1
    Global Const $SND_MEMORY = 0x4
    Global Const $SND_LOOP = 0x8
    Global Const $SND_NOSTOP = 0x10
    Global Const $SND_NOWAIT = 0x2000
    Global Const $SND_PURGE = 0x40
#ce
1 person likes this

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites
Yes, I have used >EditList.au3, which already involved APIConstants.au3, which involved APIResConstants.au3, which is also used in Resources.au3.
But why all of a sudden after the release upgrade bug started to arise? And why the conflict arose when each include file is a string # include-once?

Share this post


Link to post
Share on other sites

#include-once only makes sure that the current file may only be included once.

If a constant is defined in two differently named include files then you still get the error.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Can you post your script not just the error messages?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Didn't my post work?


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites
guinness, yes, of course will work. But until I disabled the file EditList.au3 APIConstants.au3 connection file and the script started to run.
 
Yes, water, of course that's my connection:
 
#include-once
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <Array.au3>
#include <File.au3>
#include <Date.au3>
#include <GuiEdit.au3>
#include <StaticConstants.au3>
#include <GDIPlus.au3>
#include <WinAPI.au3>
#include <ButtonConstants.au3>
#include <GuiRichEdit.au3>
#include <Sound.au3>
#include <INet.au3>
#include <DateTimeConstants.au3>
#include <String.au3>
#include <ListboxConstants.au3>
#include <ID3_v3.4.au3>
#include <StringSize.au3>
#include <VLC.au3>
#include <SliderConstants.au3>
#include <GuiListBox.au3>
#include <MouseOnEvent.au3>
#include <GUIMenu.au3>
#include <EditList.au3> 
#include <Resources.au3>

Share this post


Link to post
Share on other sites

As all your include files (even the non standard UDFs) are in the installation folder of AutoIt I would use Windows Explorer, select the include directory and search for "content:$RT_CURSOR".

So you will see where the surplus constant definition comes from.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Yes, yes, thank you! I have already found what he wrote above.
 
Perhaps as did - this is still a better solution ...

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