Modify ↓
Opened 16 years ago
Closed 16 years ago
#1675 closed Bug (Duplicate)
Problem with __EventLog_DecodeComputer
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | Eventlog | Cc: |
Description
it worked with the old Eventlog.au3. Now it returns a wrong part of a string. I don't understand the DLLstruct-stuff and how to write it properly, so I have to file a bug report rather than fixing it myself. I'm using WinXP 32bit. Might be an OS-issue. Can't provide infos for other Windows versions I'm afraid.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → Duplicate |
|---|---|
| Status: | new → closed |
THe problem is the same as #1496
Note:
See TracTickets
for help on using tickets.

The problem here is similar to Ticket #1336 http://www.autoitscript.com/trac/autoit/ticket/1336
An error in the calculating of the correct buffer size, I guess.
See the Example for _EventLogRead(). The return value for Computer
is not the computername but the same value as Source minus the first letter.