Jump to content
Sign in to follow this  

AutoItScript does not execute in Visual C++ 1.0

Recommended Posts


#include <iosteam>
int main(int argc, char* argv)
MouseMove(2, 1);
return 0;

I have been debugging this code for hours and hours already but the compilers keeps on saying symbol not defined. It is supposed to move the mouse two pixel right and one pixel down, but compiler is complaining even though I put environment variable to point to AutoIt. 

Edited by chillypepper112

Share this post

Link to post
Share on other sites

1. Why are you trying to compile non AutoIt code using the AutoIt compiler?

2. Why do you need to move the mouse in such small increments? If this is for a game, please read the forum rules concerning game automation. If it isn't, then would you share the overall purpose of your project please? Thanks.

Share this post

Link to post
Share on other sites

Assuming you have correctly linked AutoIt in your project.

Have you defined a MouseMove() function in it?

Are you using COM or dll directly?

Ask mod to move your question to http://www.autoitscript.com/forum/forum/14-activexcom-help-and-support-autoitx/ by reporting it.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.