🚀 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 Christer Petterson Thu, 06 Jul 2006 12:24
BDS2006 and Indy9 (SysLog)
#2246
Author: Christer Petterson
Date: Thu, 06 Jul 2006 12:24
11 lines
1358 bytes
I use BDS2006 C++Builder and Indy9 and trying to use the 
TIdSysLog->SendMessage() for sending a message on another port than default 
514 (otherwise TIdSysLogMessage is sufficient). As discussed earlier in this 
group there is a naming conflict with Windows SendMessage function.

1) I'm not able to get around the linker problem with SendMessage. How do I 
that ?
2) Is it possible to use Indy 10 together with BDS2006 C++Builder ?

Regards
Christer 
Re: BDS2006 and Indy9 (SysLog)
#2247
Author: Bob Gonder
Date: Thu, 06 Jul 2006 12:51
19 lines
1693 bytes
Christer Petterson wrote:

>I use BDS2006 C++Builder and Indy9 and trying to use the 
>TIdSysLog->SendMessage() for sending a message on another port than default 
>514 (otherwise TIdSysLogMessage is sufficient). As discussed earlier in this 
>group there is a naming conflict with Windows SendMessage function.
>
>1) I'm not able to get around the linker problem with SendMessage. How do I 
>that ?

As also discussed earlier in this group...
(Remy and Paul discussing "Indy 9 and SysLog")

Change the name of the function to SendLogMessage (as per Indy 10
naming), and rebuild Indy9.

>2) Is it possible to use Indy 10 together with BDS2006 C++Builder ?

Others have reported success.
Re: BDS2006 and Indy9 (SysLog)
#2248
Author: Remy Lebeau (TeamB)
Date: Thu, 06 Jul 2006 17:36
18 lines
1425 bytes
"Christer Petterson" <christer@pdigital.se> wrote in message
news:44ad007e@newsgroups.borland.com...

> I use BDS2006 C++Builder and Indy9 and trying to use the
> TIdSysLog->SendMessage() for sending a message

You are using an old version of Indy.  The SendMessage() method was renamed
to SendMsg() awhile ago.

> As discussed earlier in this group there is a naming conflict
> with Windows SendMessage function.

That has already been fixed.  Upgrade your copy of Indy 9 to the latest
snapshot from Indy's website.


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