McGod Posted January 30, 2008 Share Posted January 30, 2008 Local $sRew $sRew = DllCall("MD5Hash.dll", "str", "MD5Hash", "str", "Test String", "int", 2, "bool", true) MsgBox(1, @error, $sRew) MD5Hash.dll I've tried many thing but it always returns an error of 2 which means I have an invalid return type. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
Siao Posted January 30, 2008 Share Posted January 30, 2008 There is no "bool" type. Use "int" instead (either 0 or 1). "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Developers Jos Posted January 30, 2008 Developers Share Posted January 30, 2008 Where did you get this DLL from or is it the one posted here as an Addin ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
McGod Posted January 30, 2008 Author Share Posted January 30, 2008 http://www.autoitscript.com/forum/index.php?showtopic=21010Theres were the DLL came from,as for using "str" instead of "bool", it just hard crashes Autoit. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
Developers Jos Posted January 30, 2008 Developers Share Posted January 30, 2008 (edited) http://www.autoitscript.com/forum/index.php?showtopic=21010Theres were the DLL came from,as for using "str" instead of "bool", it just hard crashes Autoit.As far as I know its and PlugIn DLL that requiers a totally different syntax as shown in the exampleWhy are you not using it as described in the example and how did you get the shown DllCall syntax ? Edited January 30, 2008 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
McGod Posted January 30, 2008 Author Share Posted January 30, 2008 I remembered reading somewhere that PluginOpen and PluginClose were removed, now that I see they are now, I do not need the dll call. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
Developers Jos Posted January 30, 2008 Developers Share Posted January 30, 2008 I remembered reading somewhere that PluginOpen and PluginClose were removed, now that I see they are now, I do not need the dll call.So you are seriously trying to tell us you made that DllCall() syntax up yourself and are surprised it does a hard crash ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now