🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #2573

More problem while upgrade from BCB1.0 to BCB3.0

#2573
From: Zhaobin Zhu
Date: Thu, 21 Oct 1999 00:00
29 lines
1392 bytes
Hi, Jerry and Mark

Thanks for your responses for my last message. It worked.

Still in the project upgrading from BCB1.0 to BCB3.0,
new errors come up:
================
[C++Error] base.h(493): ) expected.
493:    void __fastcall CheckCardType( SOCKET sock );
[C++Error] base.h(577): Type name expected.
[C++Error] base.h(577): Declaration missing ;.
[C++Error] base.h(577): Earlier declaration of 'TFormBase::SOCKET'.
577:   SOCKET         Sock1;
=====================
if I re-write line 493 as:     void __fastcall CheckCardType( SOCKET );
The related error " [C++Error] base.h(493): ) expected." is gone.

Seems something wrong with class SOCKET, which is defined in
<winsock2.h> ?

What do you think the problem is about ? Hope the information I provide
here
is enough for you to make judgement.

best regards,

--
Zhaobin Zhu
EMC Corp.
Technical Details
Message-ID: <380F53AA.74ABF3FB@emc.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10529a,883a43ebafd3fa01,start
X-Google-Attributes: gid10529a,public
From: Zhaobin Zhu <zzhu@emc.com>
Subject: More problem while upgrade from BCB1.0 to BCB3.0
Date: 1999/10/21
Message-ID: <380F53AA.74ABF3FB@emc.com>
X-Deja-AN: 538933508
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.upgrade