Sign in to follow this  
Followers 0
nusaki

VB 2010 + Autoit X3 (64 bit)

4 posts in this topic

Hello, I have changed my windows to Windows 7 (64bit) and I’m running in to some problems using AutoIt script from my VB 2010.

Public Declare Function AU3_MouseClick lib "autoitx.dll" (Optional ByVal szButton As String = "LEFT", Optional ByVal nX As Integer = -2147483647, Optional ByVal nY As Integer = -2147483647, Optional ByVal nClicks As Integer = 1, Optional ByVal nSpeed As Integer = -1)

and

AU3_MouseClick("Left")

Just not working for me anymore. I tried AutoItX3_x64.dll, no luck. Please help

Error:

PInvoke restriction: cannot return variants.


keywen.com

Share this post


Link to post
Share on other sites



Did you try using the com object?

yes I added autoit dll to com


keywen.com

Share this post


Link to post
Share on other sites

What's "autoitx.dll"? Do you even have that dll anywhere?

Is your app 32 or 64 bit?


♡♡♡

.

eMyvnE

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