Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Vista Tutorial - SOS ,Who can help me?

Reply
 
Old 06-05-2007   #1 (permalink)
Grant
Guest


 
 

SOS ,Who can help me?

I use delphi 6 develop a simply service on vista,
when the service start ,i want to open a dialog for customers to select file,
it's running ok on win2000 and win 2003, but cannt start on vista,

ps: debug on vista is ok, but in service manager,if start, raise error.

otherwise i have disable the UAC.

pls help me

My System SpecsSystem Spec
Old 06-05-2007   #2 (permalink)
Jimmy Brush
Guest


 
 

Re: SOS ,Who can help me?

Hello,

Services cannot display user interfaces.

- JB

On Mon, 4 Jun 2007 21:00:01 -0700, Grant
<Grant@discussions.microsoft.com> wrote:

>I use delphi 6 develop a simply service on vista,
>when the service start ,i want to open a dialog for customers to select file,
>it's running ok on win2000 and win 2003, but cannt start on vista,
>
>ps: debug on vista is ok, but in service manager,if start, raise error.
>
>otherwise i have disable the UAC.
>
>pls help me

My System SpecsSystem Spec
Old 06-05-2007   #3 (permalink)
Grant
Guest


 
 

Re: SOS ,Who can help me?

then any suggestion?

"Jimmy Brush" wrote:

> Hello,
>
> Services cannot display user interfaces.
>
> - JB
>
> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
> <Grant@discussions.microsoft.com> wrote:
>
> >I use delphi 6 develop a simply service on vista,
> >when the service start ,i want to open a dialog for customers to select file,
> >it's running ok on win2000 and win 2003, but cannt start on vista,
> >
> >ps: debug on vista is ok, but in service manager,if start, raise error.
> >
> >otherwise i have disable the UAC.
> >
> >pls help me

>

My System SpecsSystem Spec
Old 06-05-2007   #4 (permalink)
Jimmy Brush
Guest


 
 

Re: SOS ,Who can help me?

I would suggest creating a seperate client GUI application that
communicates with your service through some sort of IPC mechanism.

- JB

On Mon, 4 Jun 2007 22:30:00 -0700, Grant
<Grant@discussions.microsoft.com> wrote:

>then any suggestion?
>
>"Jimmy Brush" wrote:
>
>> Hello,
>>
>> Services cannot display user interfaces.
>>
>> - JB
>>
>> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
>> <Grant@discussions.microsoft.com> wrote:
>>
>> >I use delphi 6 develop a simply service on vista,
>> >when the service start ,i want to open a dialog for customers to select file,
>> >it's running ok on win2000 and win 2003, but cannt start on vista,
>> >
>> >ps: debug on vista is ok, but in service manager,if start, raise error.
>> >
>> >otherwise i have disable the UAC.
>> >
>> >pls help me

>>

My System SpecsSystem Spec
Old 06-05-2007   #5 (permalink)
Grant
Guest


 
 

Re: SOS ,Who can help me?

Why its ok on win2000 and winxp OS? only Vista cannt display user interface
in
services? any other suggestion?

thx very much!



"Jimmy Brush" wrote:

> I would suggest creating a seperate client GUI application that
> communicates with your service through some sort of IPC mechanism.
>
> - JB
>
> On Mon, 4 Jun 2007 22:30:00 -0700, Grant
> <Grant@discussions.microsoft.com> wrote:
>
> >then any suggestion?
> >
> >"Jimmy Brush" wrote:
> >
> >> Hello,
> >>
> >> Services cannot display user interfaces.
> >>
> >> - JB
> >>
> >> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
> >> <Grant@discussions.microsoft.com> wrote:
> >>
> >> >I use delphi 6 develop a simply service on vista,
> >> >when the service start ,i want to open a dialog for customers to select file,
> >> >it's running ok on win2000 and win 2003, but cannt start on vista,
> >> >
> >> >ps: debug on vista is ok, but in service manager,if start, raise error.
> >> >
> >> >otherwise i have disable the UAC.
> >> >
> >> >pls help me
> >>

>

My System SpecsSystem Spec
Old 06-05-2007   #6 (permalink)
Jimmy Brush
Guest


 
 

Re: SOS ,Who can help me?

It's wasn't really OK in those operating systems, but they did not
stop you from doing it.

Displaying a user interface from a service creates a security
vulnerability in Windows.

You can read more about this here:

http://www.microsoft.com/whdc/system.../services.mspx

Also, you may find better help in the MSDN developer forums:

http://forums.microsoft.com/MSDN/

- JB

On Tue, 5 Jun 2007 18:28:00 -0700, Grant
<Grant@discussions.microsoft.com> wrote:

>Why its ok on win2000 and winxp OS? only Vista cannt display user interface
>in
> services? any other suggestion?
>
>thx very much!
>
>
>
>"Jimmy Brush" wrote:
>
>> I would suggest creating a seperate client GUI application that
>> communicates with your service through some sort of IPC mechanism.
>>
>> - JB
>>
>> On Mon, 4 Jun 2007 22:30:00 -0700, Grant
>> <Grant@discussions.microsoft.com> wrote:
>>
>> >then any suggestion?
>> >
>> >"Jimmy Brush" wrote:
>> >
>> >> Hello,
>> >>
>> >> Services cannot display user interfaces.
>> >>
>> >> - JB
>> >>
>> >> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
>> >> <Grant@discussions.microsoft.com> wrote:
>> >>
>> >> >I use delphi 6 develop a simply service on vista,
>> >> >when the service start ,i want to open a dialog for customers to select file,
>> >> >it's running ok on win2000 and win 2003, but cannt start on vista,
>> >> >
>> >> >ps: debug on vista is ok, but in service manager,if start, raise error.
>> >> >
>> >> >otherwise i have disable the UAC.
>> >> >
>> >> >pls help me
>> >>

>>

My System SpecsSystem Spec
Reply

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46