Jump to content

Problem calling function with DllCall()


Recommended Posts

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 by PoojaKrishna
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...