On 02/19/2015 10:34 AM, Mark Morgan Lloyd wrote:
I've got these methods

   procedure OnAfterShow(afterShowParam: LONGINT);
   procedure OnAfterOverridesVisibleClick(count: LONGINT);

which are used like this

   Application.QueueAsyncCall(@OnAfterShow, startParam)
end { TMainForm.FormCreate } ;

On 32-bit systems the parameter type is a longint, but x64 requires Int64.

What's the correct type to ensure portability in this case?

You must use PtrInt.

z.



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to