Jump to content
Sign in to follow this  

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;


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.