🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Why it is keyboard disable for the TForm created by a TService?

#15083
From: Remy Lebeau (TeamB)
Date: Sat, 19 Jul 2003 21:44
17 lines
1931 bytes
"Emmanuel" <emmanuel@erphk.com> wrote in message
news:3f195ba2@newsgroups.borland.com...
> I am write a service for a windows 2000
> In the service (TService), it can create a form (TForm)

Services are not supposed to be creating UI elements, and in fact cannot
safely do so without exta setup and/or coding to work around it.  Services
are supposed to be background tasks.  You would be best to separate your UI
code from the service altogether and place it into its own standard
application which communicates with the service when needed.  There are
plenty of ways for an application to communicate with other, including a
service.  COM, RPC, named pipe, and TCP socket are the most common ways for
comunicating with a service.


Gambit
Technical Details
Message-ID: <3f19ba94$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f0f077d@newsgroups.borland.com> <3f191cca$1@newsgroups.borland.com> <3f195ba2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8d1156e809992e08
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-19 14:42:03 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References:  <3f0f077d@newsgroups.borland.com> <3f191cca$1@newsgroups.borland.com> <3f195ba2@newsgroups.borland.com>
Subject: Re: Why it is keyboard disable for the TForm created by a TService?
Date: Sat, 19 Jul 2003 14:44:55 -0700
Lines: 19
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: <3f19ba94$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058650772 207.175.226.26 (19 Jul 2003 14:39:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail