BigOneWay Posted May 24, 2010 Posted May 24, 2010 Hi, I created a small utilty called MF-Link and I wanted to know what is needed to put it in your downloads. When I compile the log file some errors are reported. I have to correct them or I can send it as is My English always comes from google translator. log generated: >"F:\Portable\AutoIt\SciTE4AutoIt3\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3" +>10:08:33 Starting AutoIt3Wrapper v.2.0.1.22 Environment(Language:0410 Keyboard:00000410 OS:WIN_XP/Service Pack 2 CPU:X64 OS:X86) -> 1 Change(s) made. >Running AU3Check (1.54.14.0) from:F:\Portable\AutoIt F:\Portable\AutoIt\Include\ModernMenuRaw.au3(92,72) : ERROR: $NIM_ADD previously declared as a 'Const' If Not IsDeclared("NIM_ADD") Then Global Const $NIM_ADD = 0x00000000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(93,78) : ERROR: $NIM_MODIFY previously declared as a 'Const' If Not IsDeclared("NIM_MODIFY") Then Global Const $NIM_MODIFY = 0x00000001 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(94,78) : ERROR: $NIM_DELETE previously declared as a 'Const' If Not IsDeclared("NIM_DELETE") Then Global Const $NIM_DELETE = 0x00000002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(95,81) : ERROR: $NIM_SETFOCUS previously declared as a 'Const' If Not IsDeclared("NIM_SETFOCUS") Then Global Const $NIM_SETFOCUS = 0x00000003 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(96,85) : ERROR: $NIM_SETVERSION previously declared as a 'Const' If Not IsDeclared("NIM_SETVERSION") Then Global Const $NIM_SETVERSION = 0x00000004 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(98,79) : ERROR: $NIF_MESSAGE previously declared as a 'Const' If Not IsDeclared("NIF_MESSAGE") Then Global Const $NIF_MESSAGE = 0x00000001 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(99,74) : ERROR: $NIF_ICON previously declared as a 'Const' If Not IsDeclared("NIF_ICON") Then Global Const $NIF_ICON = 0x00000002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(100,72) : ERROR: $NIF_TIP previously declared as a 'Const' If Not IsDeclared("NIF_TIP") Then Global Const $NIF_TIP = 0x00000004 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(101,76) : ERROR: $NIF_STATE previously declared as a 'Const' If Not IsDeclared("NIF_STATE") Then Global Const $NIF_STATE = 0x00000008 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(102,74) : ERROR: $NIF_INFO previously declared as a 'Const' If Not IsDeclared("NIF_INFO") Then Global Const $NIF_INFO = 0x00000010 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(103,81) : ERROR: $NIF_REALTIME previously declared as a 'Const' If Not IsDeclared("NIF_REALTIME") Then Global Const $NIF_REALTIME = 0x00000040 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(104,79) : ERROR: $NIF_SHOWTIP previously declared as a 'Const' If Not IsDeclared("NIF_SHOWTIP") Then Global Const $NIF_SHOWTIP = 0x00000080 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(106,78) : ERROR: $NIS_HIDDEN previously declared as a 'Const' If Not IsDeclared("NIS_HIDDEN") Then Global Const $NIS_HIDDEN = 0x00000001 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(107,85) : ERROR: $NIS_SHAREDICON previously declared as a 'Const' If Not IsDeclared("NIS_SHAREDICON") Then Global Const $NIS_SHAREDICON = 0x00000002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(109,76) : ERROR: $NIIF_NONE previously declared as a 'Const' If Not IsDeclared("NIIF_NONE") Then Global Const $NIIF_NONE = 0x00000000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(110,76) : ERROR: $NIIF_INFO previously declared as a 'Const' If Not IsDeclared("NIIF_INFO") Then Global Const $NIIF_INFO = 0x00000001 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(111,81) : ERROR: $NIIF_WARNING previously declared as a 'Const' If Not IsDeclared("NIIF_WARNING") Then Global Const $NIIF_WARNING = 0x00000002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(112,78) : ERROR: $NIIF_ERROR previously declared as a 'Const' If Not IsDeclared("NIIF_ERROR") Then Global Const $NIIF_ERROR = 0x00000003 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(113,76) : ERROR: $NIIF_USER previously declared as a 'Const' If Not IsDeclared("NIIF_USER") Then Global Const $NIIF_USER = 0x00000004 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(114,85) : ERROR: $NIIF_ICON_MASK previously declared as a 'Const' If Not IsDeclared("NIIF_ICON_MASK") Then Global Const $NIIF_ICON_MASK = 0x0000000F ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(115,81) : ERROR: $NIIF_NOSOUND previously declared as a 'Const' If Not IsDeclared("NIIF_NOSOUND") Then Global Const $NIIF_NOSOUND = 0x00000010 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(116,86) : ERROR: $NIIF_LARGE_ICON previously declared as a 'Const' If Not IsDeclared("NIIF_LARGE_ICON") Then Global Const $NIIF_LARGE_ICON = 0x00000020 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(122,81) : ERROR: $IDI_APPLICATION previously declared as a 'Const' If Not IsDeclared("IDI_APPLICATION") Then Global Const $IDI_APPLICATION = 32512 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(123,69) : ERROR: $IDI_HAND previously declared as a 'Const' If Not IsDeclared("IDI_HAND") Then Global Const $IDI_HAND = 32513 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(124,76) : ERROR: $IDI_QUESTION previously declared as a 'Const' If Not IsDeclared("IDI_QUESTION") Then Global Const $IDI_QUESTION = 32514 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(125,81) : ERROR: $IDI_EXCLAMATION previously declared as a 'Const' If Not IsDeclared("IDI_EXCLAMATION") Then Global Const $IDI_EXCLAMATION = 32515 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(126,76) : ERROR: $IDI_ASTERISK previously declared as a 'Const' If Not IsDeclared("IDI_ASTERISK") Then Global Const $IDI_ASTERISK = 32516 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(127,74) : ERROR: $IDI_WINLOGO previously declared as a 'Const' If Not IsDeclared("IDI_WINLOGO") Then Global Const $IDI_WINLOGO = 32517 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(133,77) : ERROR: $WM_MOUSEMOVE previously declared as a 'Const' If Not IsDeclared("WM_MOUSEMOVE") Then Global Const $WM_MOUSEMOVE = 0x0200 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Portable\AutoIt\Include\ModernMenuRaw.au3(135,77) : ERROR: $WM_LBUTTONUP previously declared as a 'Const' If Not IsDeclared("WM_LBUTTONUP") Then Global Const $WM_LBUTTONUP = 0x0202 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(370,45) : WARNING: $ItemMenu: possibly used before declaration. $var = IniReadSection($Path, $ItemMenu[0]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(372,32) : WARNING: $ObjList: possibly used before declaration. If $ObjX = $ObjList[$N][0] Then ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(514,33) : WARNING: $ObjTist: possibly used before declaration. GUICtrlDelete ($ObjTist[$N] ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1758,25) : WARNING: $Group1: possibly used before declaration. GUICtrlSetState($Group1, ~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1763,31) : WARNING: $Col: possibly used before declaration. GUICtrlSetState($Col[$Cont], ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1767,28) : WARNING: $L: possibly used before declaration. GUICtrlSetState($L[$Cont], ~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1769,26) : WARNING: $sliderR: possibly used before declaration. GUICtrlSetState($sliderR, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1770,26) : WARNING: $sliderG: possibly used before declaration. GUICtrlSetState($sliderG, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1771,26) : WARNING: $sliderB: possibly used before declaration. GUICtrlSetState($sliderB, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1772,27) : WARNING: $SliderRT: possibly used before declaration. GUICtrlSetState($SliderRT, ~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1773,27) : WARNING: $SliderGT: possibly used before declaration. GUICtrlSetState($SliderGT, ~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1774,27) : WARNING: $SliderBT: possibly used before declaration. GUICtrlSetState($SliderBT, ~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1775,27) : WARNING: $VideoRGB: possibly used before declaration. GUICtrlSetState($VideoRGB, ~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1776,27) : WARNING: $ColorLab: possibly used before declaration. GUICtrlSetState($ColorLab, ~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1777,23) : WARNING: $HexT: possibly used before declaration. GUICtrlSetState($HexT, ~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1782,25) : WARNING: $Group3: possibly used before declaration. GUICtrlSetState($Group3, ~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1783,26) : WARNING: $checkLB: possibly used before declaration. GUICtrlSetState($checkLB, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1784,26) : WARNING: $checkCN: possibly used before declaration. GUICtrlSetState($checkCN, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1785,26) : WARNING: $checkSC: possibly used before declaration. GUICtrlSetState($checkSC, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1786,26) : WARNING: $SequeLB: possibly used before declaration. GUICtrlSetState($SequeLB, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(1787,25) : WARNING: $Pictur: possibly used before declaration. GUICtrlSetState($Pictur, ~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(2433,21) : WARNING: $GScroll: possibly used before declaration. GUISwitch($GScroll) ~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(2434,28) : WARNING: $Text: possibly used before declaration. GUICtrlCreateLabel($Text, ~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3(2325,98) : WARNING: $GScroll: declared global in function only. Prefer top of file. Global $GScroll = GUICreate("Child", 276, 80, 10, 90, BitOR($WS_CHILD,$WS_DLGFRAME), -1, $GInfo) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:\Access\AU3\MF-Link\MF-Link8ChildGUI.au3 - 30 error(s), 24 warning(s)
PsaltyDS Posted May 24, 2010 Posted May 24, 2010 Go through all your variable declarations and check them against the contents of the #include files you referenced. Don't bother declaring or testing with IsDeclared() stuff that is already in your included files. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now