🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Turbo C++ Explorer and Indy

#508
From: Remy Lebeau (TeamB)
Date: Wed, 02 Jan 2008 03:24
35 lines
1977 bytes
"Andre Hamilton" <agentfat2004@gmail.com> wrote in message
news:477908aa$1@newsgroups.borland.com...

> I know if I had the professional version I could just add
> methods in the events tab to set functionality

Design-time support is not required for that.  You can assign event handlers
dynamically in your run-time code as well, ie:

    void __fastcall TSomeClass::InitServer()
    {
        fServer = new TIdTCPServer(this);
        fServer->OnExecute = &ServerExecute;
        //...
    }

    void __fastcall TSomeClass::ServerExecute(TIdContext *AContext);
    {
        //...
    }

> I realize that some of the methods(in TIdTCPServer) are
> declared as virtual. So can I assume to use the Indy package
> that I would have to create a child class that overrides all the
> virtual methods

No.  You can use the existing components as-is.

> or does the lib contain blank implementations.

No, as it does not need to.


Gambit
Technical Details
Message-ID: <477b049e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <477657e5$1@newsgroups.borland.com> <477884c8$2@newsgroups.borland.com> <477908aa$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,11893375307ad2c8
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <477657e5$1@newsgroups.borland.com> <477884c8$2@newsgroups.borland.com> <477908aa$1@newsgroups.borland.com>
Subject: Re: Turbo C++ Explorer and Indy
Date: Tue, 1 Jan 2008 19:24:29 -0800
Lines: 37
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: 75.83.29.61
Message-ID: <477b049e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1199244446 75.83.29.61 (1 Jan 2008 19:27:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail