Jump to content

Calling activex from lua


barhoumeh
 Share

Recommended Posts

hello

am trying to call autoit active x from lua

 why this piece of code works !!

result = DLL.CallFunction("AutoPlayDocsAutoItX3.dll", "AU3_MouseMove", "90,0", DLL_RETURN_TYPE_LONG, DLL_CALL_CDECL);

and this not

result2 = DLL.CallFunction("AutoPlayDocsAutoItX3.dll", "AU3_Send", "Hello from Notepad", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);

Link to comment
Share on other sites

nMOde might be default but does it still need an argument?  Null string or something.  Sorry, don't use AutoItx much.

Oh, send returns a void and not a long.

Edited by jaberwocky6669
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...