Re: [twsocket] TWSocket in thread in FireMonkey HD app for futurecrossplatform target

2012-10-30 Thread Hoby Smith
> Arno Garrels wrote:
> Actually it's simpler than it sounds, if you do not use your own message
loop but ICS' method MessageLoop, there's nothing to change for OSX. If you
use your own 
> message loop a few IFDEF's are required, which isn't a big deal and
something I'll show in a new demo when I have some spare time.

Super, that sounds great!  Thanks.  :)

Hoby

--
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


Re: [twsocket] TWSocket in thread in FireMonkey HD app for futurecrossplatform target

2012-10-30 Thread Arno Garrels
Arno Garrels wrote:
> Hoby Smith wrote:
> 
>> However, being that this thread is in a FireMonkey HD app, I am
>> unsure how to proceed.  Do all the threading message pump issues
>> still apply?
> 
> Yes. In Windows anyway and in Posix there's Window's messaging
> emulated (as it's needed to not change ICS' source code too much). In
> Posix a 
> thread doesn't have to call GetMessage(), PeekMessage() that's the
> major difference.

Actually it's simpler than it sounds, if you do not use your own
message loop but ICS' method MessageLoop, there's nothing to
change for OSX. If you use your own message loop a few IFDEF's are required, 
which isn't a big deal and something I'll show in a 
new demo when I have some spare time.

-- 
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