View Single Post
Old 06-05-2007   #6 (permalink)
Jimmy Brush


 
 

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