Jump to content

using au3_pixelsearch with c++

Recommended Posts

so ive managed to get the command to run but if the error value would be 0 the program crashes heres what i have so far any help would be greatly appreciated


#include <windows.h>
#include "resource.h"
#include <iostream>
#include "AutoItX3_DLL.h"
using namespace std;

int main() {
    T.left = 30; T.right = 35; T.top = 500; T.bottom = 505;
    if (AU3_error() == 1) { cout << "No Match" << endl; }
    else if (AU3_error() == 0) { cout << "Match" << B.x << B.y << endl; }
    return 0;


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...