dnc Posted October 3, 2007 Share Posted October 3, 2007 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 Link to comment Share on other sites More sharing options...
Fossil Rock Posted October 3, 2007 Share Posted October 3, 2007 Where's your code? Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
dnc Posted October 3, 2007 Author Share Posted October 3, 2007 (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 October 3, 2007 by dnc Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now