Sign in to follow this  
Followers 0
dnc

AU3_PixelChecksum generates -2147483648

3 posts in this topic

Hello all,

I have a problem, when calling the AU3_PixelChecksum from interop or api reference the results are -2147483648 when the nleft and ntop are under 20?

This is weird, can anybody shed some light on why this occurres? I have used the beta and 3.2.8.1 version; both generate the same result. From an autoit script this function succeeds without any probs.

Thanks,

Daniel

Share this post


Link to post
Share on other sites



Where's your code?


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

CODE
Dim intResult As Integer

Dim aut3Main As New AutoItX3Lib.AutoItX3

intResult = aut3Main.PixelChecksum(0, 0, 50, 50, 1) 'doesn't work

intResult = aut3Main.PixelChecksum(1, 1, 50, 50, 1) 'doesn't work

intResult = aut3Main.PixelChecksum(1, 1, 250, 250, 1) 'doesn't work

intResult = aut3Main.PixelChecksum(20, 20, 250, 250, 1) 'doesn't work

intResult = aut3Main.PixelChecksum(0, 0, 1, 1, 1) 'works

intResult = aut3Main.PixelChecksum(1, 1, 2, 2, 1) 'works

intResult = aut3Main.PixelChecksum(19, 19, 50, 50, 1) 'works

intResult = aut3Main.PixelChecksum(19, 19, 1, 1, 1) 'works

intResult = aut3Main.PixelChecksum(20, 20, 50, 50, 1) 'works

Here you go...

Edited by dnc

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  
Followers 0