🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by Tom420 Thu, 29 Mar 2007 00:05
Synchronize?
#1146
Author: Tom420
Date: Thu, 29 Mar 2007 00:05
13 lines
1424 bytes
Haven't done any Indy programming for a while, so I'm quite rusted and I 
realize the components have changed a lot.

Using Turbo C++
Using TIdTCPServer

 From the OnCommand (from a command handler), how should I Synchronize 
in order to access the GUI? Actually, I'm just trying to test stuff with 
a simple ShowMessage (which, obviously, cannot be done from outside the 
main thread).

Thanks,
Tom :)
Re: Synchronize?
#1147
Author: Remy Lebeau (TeamB)
Date: Thu, 29 Mar 2007 01:17
11 lines
1048 bytes
"Tom420" <tom420@sherbrooke.qc.ca> wrote in message
news:460b02cf$1@newsgroups.borland.com...

>  From the OnCommand (from a command handler), how should
> I Synchronize in order to access the GUI?

Use the TIdSync class.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads