Modify ↓
Opened 12 years ago
Closed 12 years ago
#2622 closed Bug (Duplicate)
Object method crash autoit
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.11.2 | Severity: | None |
| Keywords: | Cc: |
Description
I have virtual net adapter VMware Virtual Ethernet Adapter for VMnet1 and this script crash autoit with -1073741819 error:
$objWMIService = ObjGet("winmgmts:\\" & @ComputerName & "\root\CIMV2")
$colAdapters = $objWMIService.ExecQuery ("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True")
For $objAdapter in $colAdapters
For $i = 0 To UBound($objAdapter.DefaultIPGateway)
ConsoleWrite($objAdapter.DefaultIPGateway($i) & @LF) ;<<--HERE CRASH AutoIt Version: 3.3.11.2 (Beta) AutoIt3.exe ended.rc:-1073741819
Next
Next
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
jchd18, this report not about autoit array and its ubound. If you can read you will see, that it about autoit crash with runtime errror -1073741819
comment:4 by , 12 years ago
| Resolution: | → Duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

AutoIt arrays indices start at 0 and end at UBound(array) - 1
This is not the place to ask such basic questions. General Help forum exists for a reason.