Opened 16 years ago
Closed 16 years ago
#357 closed Bug (Completed)
@AutoItUnicode - obsolete
Reported by: | Zedna | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.2.13.1 | Component: | AutoIt |
Version: | 3.2.13.0 | Severity: | None |
Keywords: | Cc: |
Description
@AutoItUnicode
Returns 1 if running using the Unicode version of AutoIt (AutoIt3.exe) or 0 if running the ANSI version (AutoIt3A.exe).
This macro is obsolete from 3.2.13 because ANSI version of AutoIt no longer exists.
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by Gary
comment:2 Changed 16 years ago by Zedna
I didn't know about that.
But @AutoItUnicode if it stay this way always returns true because it's based on Unicode version of AutoIt and not on Unicode version of some control.
comment:3 follow-up: ↓ 4 Changed 16 years ago by Gary
true, hmmm may need to put another check into many of the UDFs.
comment:4 in reply to: ↑ 3 Changed 16 years ago by Zedna
Replying to Gary:
true, hmmm may need to put another check into many of the UDFs.
You probably mean
_GUICtrlListView_GetUnicodeFormat($hWnd)
_GUICtrlStatusBar_GetUnicodeFormat($hWnd)
...
So instead of
If @AutoItUnicode Then ...
use
If _GUICtrlListView_GetUnicodeFormat($hWnd) Then ... inside GUIListView.au3
If _GUICtrlStatusBar_GetUnicodeFormat($hWnd) Then ... inside GUIStatusBar.au3
...
comment:5 Changed 16 years ago by Jpm
- Milestone set to 3.2.13.1
- Owner set to Jpm
- Resolution set to Completed
- Status changed from new to closed
Removed in version: 3.2.13.1
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.
I have to disagree with it being obsolete.
Most controls can have unicode turned off, therefore needing to call the ansi api function call(s).