Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > SOS ,Who can help me?

Reply
Thread Tools Display Modes

SOS ,Who can help me?

 
 
Grant
Guest
Posts: n/a

 
      06-05-2007
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
 
Reply With Quote
 
 
 
 
Jimmy Brush
Guest
Posts: n/a

 
      06-05-2007
Hello,

Services cannot display user interfaces.

- JB

On Mon, 4 Jun 2007 21:00:01 -0700, Grant
<> 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

 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      06-05-2007
then any suggestion?

"Jimmy Brush" wrote:

> Hello,
>
> Services cannot display user interfaces.
>
> - JB
>
> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
> <> 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

>

 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      06-05-2007
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
<> wrote:

>then any suggestion?
>
>"Jimmy Brush" wrote:
>
>> Hello,
>>
>> Services cannot display user interfaces.
>>
>> - JB
>>
>> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
>> <> 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

>>

 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      06-06-2007
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
> <> wrote:
>
> >then any suggestion?
> >
> >"Jimmy Brush" wrote:
> >
> >> Hello,
> >>
> >> Services cannot display user interfaces.
> >>
> >> - JB
> >>
> >> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
> >> <> 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
> >>

>

 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      06-06-2007
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
<> 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
>> <> wrote:
>>
>> >then any suggestion?
>> >
>> >"Jimmy Brush" wrote:
>> >
>> >> Hello,
>> >>
>> >> Services cannot display user interfaces.
>> >>
>> >> - JB
>> >>
>> >> On Mon, 4 Jun 2007 21:00:01 -0700, Grant
>> >> <> 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
>> >>

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




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 47 48 49 50 51 52 53 54 55 56 57 58 59