Opened 10 years ago

Closed 10 years ago

#2882 closed Bug (Fixed)

AutoItX PixelChecksum Bug

Reported by: JohnOne Owned by: Jon
Milestone: Component: AutoItX
Version: Severity: None
Keywords: AutoItx PixelChecksum C# Cc:


It does not work in C# (don't know about other OS') and returns 0 regardless of coordinates.

namespace AutoItXTest
    class Program
        static void Main(string[] args)
            Rectangle Rect = new Rectangle(10, 10, 10, 10);
            System.UInt32 cksm = AutoItX.PixelChecksum(Rect, 1);
            //uint cksm = AutoItX.PixelChecksum(Rect, 1);
            Debug.WriteLine("Checksum = " + cksm.ToString());

I suspect it is because the return value can be as large as uint64, and the function only accommodates a return of uint32.

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Jon

  • Milestone set to
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11074] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jon.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.