🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4002

Re: TIdTCP problem.

#4002
From: Remy Lebeau (TeamB)
Date: Mon, 25 Apr 2005 16:50
22 lines
1588 bytes
"qyte" <gyte@vivodinet.gr> wrote in message
news:426cd5d3@newsgroups.borland.com...

> when i read something from the connection
> i put in a memo inside form2.

Please show that code.  If you are doing that from a server, than are you
synchronizing it properly?  Indy servers are multi-threaded.  You should not
be accessing the GUI directly while inside a thread-based event handler.

> the problem is that the whole application freezes.

Again, please show your actual code.

> i tried using the bcb debugger and the was an exception
> like "Canvas could not be drawn" or something like that.

That usually occurs from thread-unsafe access to the GUI.


Gambit
Technical Details
Message-ID: <426d1f2b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <426cd5d3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2e62a2a92b9521aa
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <426cd5d3@newsgroups.borland.com>
Subject: Re: TIdTCP problem.
Date: Mon, 25 Apr 2005 09:50:03 -0700
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <426d1f2b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114447659 68.69.17.41 (25 Apr 2005 09:47:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail