LOULOU Posted January 26, 2008 Share Posted January 26, 2008 How can i do, i don't understand what happen, maybe a bug in new version I:\pcic\ModernMenu.au3(19,72) : ERROR: $SRCCOPY previously declared as a 'Const' If Not IsDeclared("SRCCOPY") Then Global Const $SRCCOPY = 0x00CC0020 Link to comment Share on other sites More sharing options...
GaryFrost Posted January 26, 2008 Share Posted January 26, 2008 How can i do, i don't understand what happen, maybe a bug in new version I:\pcic\ModernMenu.au3(19,72) : ERROR: $SRCCOPY previously declared as a 'Const' If Not IsDeclared("SRCCOPY") Then Global Const $SRCCOPY = 0x00CC0020 Try: If Not IsDeclared("SRCCOPY") Then Assign("SRCCOPY", 0x00CC0020) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
LOULOU Posted January 26, 2008 Author Share Posted January 26, 2008 Try: If Not IsDeclared("SRCCOPY") Then Assign("SRCCOPY", 0x00CC0020) Now i have the following message very suprising because i include windowsconstants.au3 before (in this file $srccopy is declared) I:\pcic\ModernMenu.au3(7,57) : WARNING: $ILC_MASK: possibly used before declaration. If Not IsDeclared("ILC_MASK") Then Assign( $ILC_MASK ,~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^ Link to comment Share on other sites More sharing options...
GaryFrost Posted January 26, 2008 Share Posted January 26, 2008 Now i have the following message very suprising because i include windowsconstants.au3 before (in this file $srccopy is declared)I~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^Not everything is in WindowsConstants.au3 anymore, they should be their respective constant fileImageListConstants.au3 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
LOULOU Posted January 26, 2008 Author Share Posted January 26, 2008 Not everything is in WindowsConstants.au3 anymore, they should be their respective constant fileImageListConstants.au3After seeing, it seems that the problem comes from SCITE and AU3check because if i ignore the message and bypass, my programm is compiled and works well.Has anyone the seame problem ? Link to comment Share on other sites More sharing options...
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