🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: sockets????

#3259
From: Gary D
Date: Tue, 01 Nov 2005 02:33
43 lines
2744 bytes
I added the code for the TTheadList and got it to compile without a problem.
I still can not call Trigger(); from the server side.
It IS public as you said but it is part of the COM class which I am 
assuminig
means I need to have an instance of the class on the server side to be able 
to
access Trigger() from.  MyClass->Trigger(); ??

I can get instances of the Implementation but get access violations if I try 
to
use it or the server will just lock up. calling Trigger() outside the class
will simply not compile. I get not a member errors etc. I looked at the
client side and see that there is this:

     FEventSink.OnEvent1 = OnEvent1;
     FEventSink.Connect(FTestEventsImpl);

but I don't know how it works, if I need it on the server side
or how to set it up if I do need it.

My forehead is bleeding from beating it against the wall.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4363be5e$1@newsgroups.borland.com...
>
> "Gary D" <gcdesroches@nctc.com> wrote in message
> news:436367ef$1@newsgroups.borland.com...
>
>> This is the code that creates a server connection and fires the event
>
> And?  Does it actually work for you?
>
>> PLEASE, can you tell me what to do to get the server to
>> fire the OnEvent1 of the client when the SERVER wants
>> to and not because the client asked?
>
> I already told you earlier what to do on the server side - call the
> Fire_...() method for the event wheverever you want to.
>
>
> Gambit
>
> 
Technical Details
Message-ID: <4366d403@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!xmission!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43599303@newsgroups.borland.com> <43599f5f$1@newsgroups.borland.com> <435bbbf2$1@newsgroups.borland.com> <435bc353$1@newsgroups.borland.com> <435ea916$1@newsgroups.borland.com> <435eb30b@newsgroups.borland.com> <436367ef$1@newsgroups.borland.com> <4363be5e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b9d755a2fd611a30
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Gary D" <gcdesroches@nctc.com>
From: "Gary D" <gcdesroches@nctc.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <43599303@newsgroups.borland.com> <43599f5f$1@newsgroups.borland.com> <435bbbf2$1@newsgroups.borland.com> <435bc353$1@newsgroups.borland.com> <435ea916$1@newsgroups.borland.com> <435eb30b@newsgroups.borland.com> <436367ef$1@newsgroups.borland.com> <4363be5e$1@newsgroups.borland.com>
Subject: Re: sockets????
Date: Mon, 31 Oct 2005 20:33:11 -0600
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.38.101.139
Message-ID: <4366d403@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130812419 66.38.101.139 (31 Oct 2005 18:33:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!xmission!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail