🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Writing to Clipboard from a service

#8437
From: nicolasr
Date: Sat, 23 Oct 2004 02:20
22 lines
1846 bytes
thanks for the quick reply!

> Which account does the service log on with ?

I installed the service as I was told in the BCB help with
MyService /INSTALL
From what I see in the SCM it's LocalSystemAccount.
That's what BCB seems to set as the default.

> How do you know when to write to the clipboard ?

The service has a mailslot. It continuously asks for new
messages. If there is a message that indicates (by a code parameter)
it wants to be placed into the clipboard the message text
should be copied to the clipboard.

Since this is the first service I write I'm really not very familiar
with all the security details involved. I'm currently reading up in MSDN
help but the topic is as always almost boundless.

Any ideas?
Nick
Technical Details
Message-ID: <4179c009@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4179a85e$1@newsgroups.borland.com> <4179b6ca@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f2ddb07f5aa054ba
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4179a85e$1@newsgroups.borland.com> <4179b6ca@newsgroups.borland.com>
Subject: Re: Writing to Clipboard from a service
Date: Sat, 23 Oct 2004 04:20:15 +0200
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 80.133.170.67
Message-ID: <4179c009@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098498057 80.133.170.67 (22 Oct 2004 19:20:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail