﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
748	DllCall crashing the script on wrong dll file name (VarType)	MrCreatoR <mscreator@…>	Jpm	"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().

[http://www.autoitscript.com/forum/index.php?s=&showtopic=86197&view=findpost&p=618619 Forum topic]

Thanks."	Bug	closed	3.2.13.13	AutoIt	3.2.12.1	None	Fixed	DllCall Crash GdiPlus UDF	
