Jump to content
Sign in to follow this  
Sitrix

Access violation at AU3_PixelSearch

Recommended Posts

Sitrix

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

Share this post


Link to post
Share on other sites
Authenticity

It's a known issue with the AutoItX3.dll file. Something is not compiled or written correctly. :)

Share this post


Link to post
Share on other sites
Sitrix

But what can to do with that? May be more earlier versions of AutoItX?

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  

×