PoojaKrishna Posted February 14, 2010 Share Posted February 14, 2010 (edited) Hi, I’m using a .NET dll, which works fine with my C#.NET code. $sLK=DllCall ( "LM Client.dll", "str", "LKValidate") MsgBox(0,"Error",@error) MsgBox(0,"LK",$sLK) I’m getting @error = 3 , means the function doesn't exist in the dll. I have tried different names, but the error is still there. Please help. Edited February 14, 2010 by PoojaKrishna Link to comment Share on other sites More sharing options...
PoojaKrishna Posted February 14, 2010 Author Share Posted February 14, 2010 (edited) Hi, Thanks for the suggestion but that doesn't fix the problem. $sLK=DllCall ( @ScriptDir&"\LM Client.dll", "str", "LKValidate") MsgBox(0,"Error",@error) MsgBox(0,"LK",$sLK) Still @error = 3. Edited February 14, 2010 by PoojaKrishna Link to comment Share on other sites More sharing options...
FinalVersion Posted February 14, 2010 Share Posted February 14, 2010 (edited) Edit: Oh wow, I mis-read your 1st post. Maybe you can use this here to find the function your looking for. http://www.autoitscript.com/forum/index.php?showtopic=80724 Edited February 14, 2010 by FinalVersion [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
PoojaKrishna Posted February 14, 2010 Author Share Posted February 14, 2010 Is the DLL in the same directory as the script?Yes. Link to comment Share on other sites More sharing options...
PoojaKrishna Posted February 14, 2010 Author Share Posted February 14, 2010 Edit: Oh wow, I mis-read your 1st post. Maybe you can use this here to find the function your looking for. http://www.autoitscript.com/forum/index.php?showtopic=80724Thanks for the link but mine is a custom DLL so I couldn't export the methods with the DEE.exe. 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