Article View: borland.public.cppbuilder.internet.socket
Article #4792Code Problem 2
From: Maurice Heneghan
Date: Wed, 15 Dec 2004 22:43
Date: Wed, 15 Dec 2004 22:43
29 lines
2109 bytes
2109 bytes
I am creating a new posting because I am unable to reply to the responces to
the original one.
Thank you Hans, Vladmir and Remy for your help, the problem is solved but I
now have a new one. The following declarations
private:
TMyMemoryStream *FBuffer;
__fastcall TServerForm::TServerForm(TComponent *AOwner)
: TForm(AOwner);
__fastcall TServerForm::~TServerForm();
void __fastcall TServerForm.ServerSocketClientRead(TObject *Sender,
TCustomWinSocket *Socket);
produce the following errors:
[C++ Error] FunctionsUnit.h(23): E2090 Qualifier 'TServerForm' is not a
class or namespace name
[C++ Error] FunctionsUnit.h(23): E2040 Declaration terminated incorrectly
[C++ Error] FunctionsUnit.h(25): E2090 Qualifier 'TServerForm' is not a
class or namespace name
[C++ Error] FunctionsUnit.h(25): E2040 Declaration terminated incorrectly
[C++ Error] FunctionsUnit.h(26): E2449 Size of 'TServerForm' is unknown or
zero
[C++ Error] FunctionsUnit.h(26): E2139 Declaration missing ;
This must be some kind of syntax error on my part but I cannot see it.
Maurice
Technical Details
Message-ID:
<41c0be24@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fe7e001b515ac0f4,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Maurice Heneghan" <mauhen@ntlworld.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Code Problem 2 Date: Wed, 15 Dec 2004 22:43:48 -0000 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 81.107.73.25 Message-ID: <41c0be24@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103150628 81.107.73.25 (15 Dec 2004 14:43:48 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.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