🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14463

Re: Invisible applic detecting events?

#14463
From: Remy Lebeau (TeamB)
Date: Mon, 11 Aug 2003 17:39
21 lines
1648 bytes
"Mattias Carleson" <mattias.carleson@commentor.se> wrote in message
news:3f37a260@newsgroups.borland.com...

> I�m writing a proxy. The application is invisible (means it
> has no visible windows), and I want to use the TServerSocket.
> This comp. is event driven so how can I get my application to
> detect events?

Make a normal GUI application like any other, and just hide its form, don't
remove it entirely.  TServerSocket events are not dependant on the form
being visible or not.

> I created it with the Console Wizard. I can�t add a
> TDataModule and put the socket in it, because it is�nt
> derived from TControl, I can see that.

Yes, you can place a TServerSocket into a TDataModule just fine.


Gambit
Technical Details
Message-ID: <3f37d355$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f37a260@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,7e936c8cd901518c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-11 10:36:38 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f37a260@newsgroups.borland.com>
Subject: Re: Invisible applic detecting events?
Date: Mon, 11 Aug 2003 10:39:40 -0700
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f37d355$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060623189 207.175.226.26 (11 Aug 2003 10:33:09 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail