Modify

Opened 11 years ago

Closed 11 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 Changed 11 years ago by Saunders <admin@…>

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

comment:2 Changed 11 years ago by Gary

  • Milestone set to 3.2.11.6
  • Owner set to Gary
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: 3.2.11.6

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Gary.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.