Modify ↓
Opened 16 years ago
Closed 16 years ago
#748 closed Bug (Fixed)
DllCall crashing the script on wrong dll file name (VarType)
Reported by: | MrCreatoR <mscreator@…> | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.2.13.13 | Component: | AutoIt |
Version: | 3.2.12.1 | Severity: | None |
Keywords: | DllCall Crash GdiPlus UDF | Cc: |
Description
I know this is a wrong usage of the function, but as i said before, in my opinion function should not cause a hard-crash of the script.
This is a quick/simple reproduction:
DllCall(0, "int", "Function", "int", 0, "int", 0)
If we use "" (empty string) instead of 0 (or even -1 will crash) in the file name, then it will not crash.
This can happen when user will call UDF function that relies on Dll name from global variable, as it happens with _GDIPlus_* UDFs if the user doesn't set _GDIPlus_Startup().
Thanks.
Attachments (0)
Change History (1)
comment:1 Changed 16 years ago by Jpm
- Milestone set to 3.2.13.13
- Owner set to Jpm
- Resolution set to Fixed
- 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.
Fixed in version: 3.2.13.13