🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TService install and user interface

#5357
From: Remy Lebeau (TeamB)
Date: Tue, 06 Sep 2005 06:00
17 lines
1540 bytes
"Tumurbaatar S." <spam_tumur@magicnet.mn> wrote in message
news:43180987@newsgroups.borland.com...

> Is it possible to call standard dialogs or create/open custom
> dialogs from the TService::Before/AfterInstall and Before/AfterUninstall
events?

Yes, but only if the service executable is being run in the context of a
user account that has access to the Interactive desktop.  In other words,
only if a user has logged into the machine and then runs your service
executable directly.  In which case, displaying dialogs in those events is
safe to do.  Any other scenerio may not be safe, depending on where the
executable is actually being called from.


Gambit
Technical Details
Message-ID: <431d305c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <43180987@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a4324ccead1434c2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43180987@newsgroups.borland.com>
Subject: Re: TService install and user interface
Date: Mon, 5 Sep 2005 23:00:09 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <431d305c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1125986396 68.69.17.41 (5 Sep 2005 22:59:56 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail