On Sunday, December 15, 2013 5:29 PM [GMT+1=CET],
François Piette wrote:

> While busy at porting ICS to Android, I had the need of replacing
> Windows custom messages by something else which is portable across
> Windows and Android.

Your PostMessage() doesn't take a window handle and seems to be a class method, 
how is that helpful to port existing code? Also ICS uses SendMessage() for 
thread synchronisation for instance in TIcsAsyncDnsLookupThread. Please take a 
look at my TIcsMessagePump in unit Ics.Posix.Messages.pas, it just had to be 
adjusted for Android. I already showed with my OS X port how easy it can be to 
port all existing ICS applications to FMX, there's a bunch of working FMX demos 
running on both Windows and OS X in current ICSv8. The difficult to port ICSv8 
to Android isn't the messaging but the lack of AnsiString and ARCed objects as 
well as zero-based strings.

-- 
Arno      
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to