Jump to content
Sign in to follow this  
McGod

DllCall Invalid Return Type

Recommended Posts

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.

Share this post


Link to post
Share on other sites

http://www.autoitscript.com/forum/index.php?showtopic=21010

Theres were the DLL came from,

as for using "str" instead of "bool", it just hard crashes Autoit.

Share this post


Link to post
Share on other sites

http://www.autoitscript.com/forum/index.php?showtopic=21010

Theres 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 example

Why are you not using it as described in the example and how did you get the shown DllCall syntax ?

Edited by Jos

Share this post


Link to post
Share on other sites

I remembered reading somewhere that PluginOpen and PluginClose were removed, now that I see they are now, I do not need the dll call.

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...