Sign in to follow this  
Followers 0
barhoumeh

Calling activex from lua

3 posts in this topic

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);

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

Also not working

but anyway

i used luacom plugin

with  wshell send function

and everything is allright

thanks any way

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  
Followers 0