Jump to content

AutoItScript does not execute in Visual C++ 1.0


 Share

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
Link to comment
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.

Link to comment
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.

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...