Article View: borland.public.cppbuilder.internet.socket
Article #2776TIdPeerThread and Syncronize...
From: qyte
Date: Thu, 12 Jan 2006 02:02
Date: Thu, 12 Jan 2006 02:02
16 lines
1329 bytes
1329 bytes
I use the following code inside the OnExecute event of the server. AThread->Synchronize(ClientRead); But it throws a compiler error. What am i doing wrong? Just to tell that ClientRead is declared inside the published part of TFrmMain as void __fastcall ClientRead(void); and the problem is that it can be called from inside the OnExecute of a TThread Descendant that i have created as Synchronize(FrmMain->ClientRead). Why is this happening???
Technical Details
Message-ID:
<43c5b81c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7a3f39d19ff01203,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 12 Jan 2006 04:02:22 +0200 From: qyte <gyte@vivodinet.gr> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: TIdPeerThread and Syncronize... Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.171.210.195 Message-ID: <43c5b81c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137031196 83.171.210.195 (11 Jan 2006 17:59:56 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail