🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: new keyword in COM Object

#3116
From: Remy Lebeau (TeamB)
Date: Mon, 21 Nov 2005 18:04
28 lines
1714 bytes
"Darlington ADIBE" <bcb@triative.com> wrote in message
news:437ebf9f@newsgroups.borland.com...

> is it valid to use the keyword 'new' with a COM Obj.

Yes.

> when i build i get this linker error

That error has nothing to do with using the 'new' keyword.

> [Linker Error] Unresolved external '__fastcall
> Idtcpclient::TIdTCPClient::SetPortA(const int)' referenced from
> C:\STUDIO\ESEMES\PROTOCOL.OBJ

That error is a known problem with Microsoft's headers in the VCL.  Have a
look at the following articles for details:

    How do I get rid of the unresolved external to SetPortA when using
Socket components?
    http://bdn.borland.com/article/0,1410,21494,00.html

    linker error- unresolved external TAbstractSocket::SetPortA
    http://bdn.borland.com/article/0,1410,20125,00.html


Gambit
Technical Details
Message-ID: <43820c13$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <437ebf9f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ed06838e6cf220fc
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: <437ebf9f@newsgroups.borland.com>
Subject: Re: new keyword in COM Object
Date: Mon, 21 Nov 2005 10:04:46 -0800
Lines: 30
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: <43820c13$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1132596243 68.69.17.41 (21 Nov 2005 10:04:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail