🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages Started by Paul Sat, 29 Apr 2006 07:06
Indy 9 SysLog
#2425
Author: Paul
Date: Sat, 29 Apr 2006 07:06
10 lines
1239 bytes
Hi,

Hopefully a simple question before I plough on in the wrong direction, is 
there an easy way of making a copy of TIdSysLogMessage?  ie copy each item 
in the original to a new instantiation, or is there another way?

    TIdSysLogMessage *  CreateSysLogMessageCopy( TIdSysLogMessage * 
OriginalSysLogMessage )

Paul 
Re: Indy 9 SysLog
#2328
Author: Remy Lebeau (TeamB)
Date: Mon, 01 May 2006 18:42
13 lines
1175 bytes
"Paul" <plmacca@clara.co.uk> wrote in message
news:4453104c$1@newsgroups.borland.com...

> is there an easy way of making a copy of TIdSysLogMessage?

TIdSysLogMessage implements the TPersistent::Assign() method, ie:

    TIdSysLogMessage *NewMessage = new TIdSysLogMessage(Owner);
    NewMessage->Assign(OriginalMessage);


Gambit
Re: Indy 9 SysLog
#2329
Author: Paul
Date: Tue, 02 May 2006 06:36
19 lines
1451 bytes
Thanks.  I knew there would be something.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:44565724$1@newsgroups.borland.com...
>
> "Paul" <plmacca@clara.co.uk> wrote in message
> news:4453104c$1@newsgroups.borland.com...
>
>> is there an easy way of making a copy of TIdSysLogMessage?
>
> TIdSysLogMessage implements the TPersistent::Assign() method, ie:
>
>    TIdSysLogMessage *NewMessage = new TIdSysLogMessage(Owner);
>    NewMessage->Assign(OriginalMessage);
>
>
> Gambit
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads