Jump to content

Access violation at AU3_PixelSearch


Recommended Posts

This code(C++, using AutoItx, visual studio 2003, version AutoItX DLL 3,3,0,0):

long rectX1 = 413,
     rectY1 = 182,
     rectX2 = 413,
     rectY2 = 816,
     lColHostile = 0x8F0000,
     lVar = 5;
POINT pntFindedPoint;

AU3_PixelSearch(rectX1, rectY1, rectX2, rectY2, lColHostile, lVar, 1, &pntFindedPoint);

Generate this error:

Unhandled exception at 0x1001b52b in SomeProgram.exe: 0xC0000005: Access violation reading location 0x00000008.

Function calling at thread(not main process).

What's problems may be whith that code? Not a correct call or bag?

Edited by Sitrix
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...