Article View: borland.public.cppbuilder.internet.socket
Article #4800Re: Code problem
From: Maurice
Date: Thu, 16 Dec 2004 21:33
Date: Thu, 16 Dec 2004 21:33
33 lines
2203 bytes
2203 bytes
Hans Galema wrote:
> So put all that is in
>
> void __fastcall TServerForm::ServerSocketClientRead(TObject *Sender,
> TCustomWinSocket *Socket)
>
> in
>
> void __fastcall TForm1::ClientSocket1Read(TObject *Sender,
> TCustomWinSocket *Socket)
>
> Hans.
I changed the code as above and that part now works. I have one
remaining problem. In my header file, on the lines
__fastcall TForm1::TForm1(TComponent *AOwner)
: TForm(AOwner);
__fastcall TForm1::~TForm1();
I get the following errors
[C++ Error] FunctionsUnit.h(29): E2090 Qualifier 'TForm1' is not a class
or namespace name
[C++ Error] FunctionsUnit.h(29): E2040 Declaration terminated incorrectly
[C++ Error] FunctionsUnit.h(32): E2090 Qualifier 'TForm1' is not a class
or namespace name
[C++ Error] FunctionsUnit.h(32): E2040 Declaration terminated incorrectly
Maurice
Technical Details
Message-ID:
<41c1ff3a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!213.73.255.4.MISMATCH!newsfeed.multikabel.nl!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41bf1302$1@newsgroups.borland.com> <41c15538$1@newsgroups.borland.com> <41c17007$1@newsgroups.borland.com> <41c179e0$1@newsgroups.borland.com> <41c19ce0@newsgroups.borland.com> <41c1a13b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,29bbb0e4385845fe X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 16 Dec 2004 21:33:48 +0000 From: Maurice <moheneghan@netscape.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Code problem References: <41bf1302$1@newsgroups.borland.com> <41c15538$1@newsgroups.borland.com> <41c17007$1@newsgroups.borland.com> <41c179e0$1@newsgroups.borland.com> <41c19ce0@newsgroups.borland.com> <41c1a13b@newsgroups.borland.com> In-Reply-To: <41c1a13b@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.107.73.25 Message-ID: <41c1ff3a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103232826 81.107.73.25 (16 Dec 2004 13:33:46 -0800) Lines: 34 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!213.73.255.4.MISMATCH!newsfeed.multikabel.nl!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail