Modify

Opened 18 years ago

Closed 18 years ago

#189 closed Bug (Fixed)

#Include Conflict: Constants.au3 + ScrollBarConstants.au3 = Duplicates

Reported by: Saunders <admin@…> Owned by: Gary
Milestone: 3.2.11.6 Component: AutoIt
Version: Other Severity:
Keywords: Cc:

Description

#include <Constants.au3>
#include <ScrollBarConstants.au3>
C:\PROGRA~1\AutoIt3\Include\ScrollBarConstants.au3 (45) : ==> Can not redeclare a constant.:
Global Const $OBJID_HSCROLL = 0xFFFFFFFA
Global Const ^ ERROR

They both set $OBJID_HSCROLL, $OBJID_VSCROLL, and $OBJID_CLIENT. Lines 273-275 in Constants.au3 and lines 45-47 in ScrollBarConstants.au3

I noticed this when I went to use _GUICtrlEdit_Scroll(), and so included ScrollBarConstants.au3, but already had Constants.au3 included for other purposes. For now I'm just declaring the particular constants I need and not including the scrollbar file.

Attachments (0)

Change History (2)

comment:1 by Saunders <admin@…>, 18 years ago

Oops, forgot to mention that I'm using latest beta 3.2.11.5 (although first discovered in .3)

comment:2 by Gary, 18 years ago

Milestone: 3.2.11.6
Owner: set to Gary
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.11.6

Modify Ticket

Action
as closed The owner will remain Gary.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.