barhoumeh Posted August 3, 2013 Posted August 3, 2013 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);
jaberwacky Posted August 3, 2013 Posted August 3, 2013 (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 August 3, 2013 by jaberwocky6669 Helpful Posts and Websites: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
barhoumeh Posted August 3, 2013 Author Posted August 3, 2013 Also not working but anyway i used luacom plugin with wshell send function and everything is allright thanks any way
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