Le 12/02/2021 à 17:39, Bo Berglund via lazarus a écrit :
Application.QueueAsyncCall(@CopyScreenRect(0), 0); // <== ERROR here
I'm not sure, but QueueAsyncCall just need the address of your callback:
Application.QueueAsyncCall(@CopyScreenRect, 0);
The 0 given to QueueAsyncCall will end up as the Value passed as arg
parameter to your CopyScreenRect method when it will called.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus