Sign in to follow this  
Followers 0
Oldschool

3.2.10 A3L errors

4 posts in this topic

I just ugraded to the latest version and now get a bunch of errors when trying to include A3L s in my scripts:

>Running AU3Check (1.54.10.0)  from:C:\Program Files\AutoIt3
C:\Program Files\AutoIt3\Include\A3LStructs.au3(41,100) : ERROR: $tagBITMAPINFO previously declared as a 'Const'
             "long XPelsPerMeter;long YPelsPerMeter;dword ClrUsed;dword ClrImportant;dword RGBQuad"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(76,77) : ERROR: $tagBLENDFUNCTION previously declared as a 'Const'
Global Const $tagBLENDFUNCTION = "byte Op;byte Flags;byte Alpha;byte Format"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(90,76) : ERROR: $tagCURSORINFO previously declared as a 'Const'
Global Const $tagCURSORINFO = "int Size;int Flags;hwnd hCursor;int X;int Y"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(110,113) : ERROR: $tagDISPLAY_DEVICE previously declared as a 'Const'
Global Const $tagDISPLAY_DEVICE = "int Size;char Name[32];char String[128];int Flags;char ID[128];char Key[128]"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(128,84) : ERROR: $tagFLASHWINDOW previously declared as a 'Const'
Global Const $tagFLASHWINDOW = "int Size;hwnd hWnd;int Flags;int Count;int TimeOut"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(139,74) : ERROR: $tagGUID previously declared as a 'Const'
Global Const $tagGUID = "int Data1;short Data2;short Data3;byte Data4[8]"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(153,88) : ERROR: $tagICONINFO previously declared as a 'Const'
Global Const $tagICONINFO = "int Icon;int XHotSpot;int YHotSpot;hwnd hMask;hwnd hColor"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(175,131) : ERROR: $tagLOGFONT previously declared as a 'Const'
             "byte Strikeout;byte CharSet;byte OutPrecision;byte ClipPrecision;byte Quality;byte PitchAndFamily;char FaceName[32]"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(185,60) : ERROR: $tagNMHDR previously declared as a 'Const'
Global Const $tagNMHDR = "int hWndFrom;int IDFrom;int Code"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(211,39) : ERROR: $tagPOINT previously declared as a 'Const'
Global Const $tagPOINT = "int X;int Y"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(234,95) : ERROR: $tagPROCESS_INFORMATION previously declared as a 'Const'
Global Const $tagPROCESS_INFORMATION = "hwnd hProcess;hwnd hThread;int ProcessID;int ThreadID"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(245,64) : ERROR: $tagRECT previously declared as a 'Const'
Global Const $tagRECT = "int Left;int Top;int Right;int Bottom"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(271,85) : ERROR: $tagSECURITY_ATTRIBUTES previously declared as a 'Const'
Global Const $tagSECURITY_ATTRIBUTES = "int Length;ptr Descriptor;int InheritHandle"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(280,38) : ERROR: $tagSIZE previously declared as a 'Const'
Global Const $tagSIZE = "int X;int Y"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(327,42) : ERROR: $tagSTARTUPINFO previously declared as a 'Const'
             "int StdOutput;int StdError"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LStructs.au3(354,92) : ERROR: $tagWINDOWPOS previously declared as a 'Const'
Global Const $tagWINDOWPOS = "int hWnd;int InsertAfter;int X;int Y;int CX;int CY;int Flags"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LConstants.au3(28,65) : ERROR: $CCM_SETBKCOLOR previously declared as a 'Const'
Global Const $CCM_SETBKCOLOR                    = $CCM_FIRST + 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LConstants.au3(29,65) : ERROR: $CCM_SETCOLORSCHEME previously declared as a 'Const'
Global Const $CCM_SETCOLORSCHEME                = $CCM_FIRST + 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Include\A3LConstants.au3(30,65) : ERROR: $CCM_GETCOLORSCHEME previously declared as a 'Const'
Global Const $CCM_GETCOLORSCHEME                = $CCM_FIRST + 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Share this post


Link to post
Share on other sites

and the question is ? :D

Many people have had this and reported on it. just get rid/comment the lines reported since they are now part of the official UDF library delivered with the AUtoit3 installer.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

and the question is ? :D

Many people have had this and reported on it. just get rid/comment the lines reported since they are now part of the official UDF library delivered with the AUtoit3 installer.

I guess it's back 3.2.8

I'm not messing with 600+ errors

Share this post


Link to post
Share on other sites

I am surprised to see that many people have complained about A3L not being 3.2.10 compatible but nobody has put in the effort yet to fix it make it available ... It doesn't really seems to be a big effort at all as far as I can tell....

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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