Modify ↓
Opened 9 years ago
Closed 9 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 Changed 9 years ago by jchd18
comment:2 Changed 9 years ago by anonymous
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:3 Changed 9 years ago by anonymous
This is the same bug as reported in ticket #2613.
comment:4 Changed 9 years ago by Jon
- Resolution set to Duplicate
- Status changed from new to closed
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.
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.