Modify ↓
#748 closed Bug (Fixed)
DllCall crashing the script on wrong dll file name (VarType)
| Reported by: | 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 by , on Dec 19, 2008 at 6:02:09 AM
| Milestone: | → 3.2.13.13 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in version: 3.2.13.13