Modify ↓
Opened 18 years ago
Closed 18 years ago
#189 closed Bug (Fixed)
#Include Conflict: Constants.au3 + ScrollBarConstants.au3 = Duplicates
| Reported by: | 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 , 18 years ago
comment:2 by , 18 years ago
| Milestone: | → 3.2.11.6 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: 3.2.11.6
Note:
See TracTickets
for help on using tickets.

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