Hi,
I am trying to run a win32 form application by a windows service. Is it
possible?
The application runs, but appears to be "dead". No action, no form, nothing,
just an image on task manager.
Thanks,
Humberto Souza
"Mervin Pearce [SACS]" wrote in message
news:477b12b3@newsgroups.borland.com...
> Make sure it is 'Interactive' to the Desktop...
You should NOT do that! Interactive services are no longer supported by
Microsoft as of Vista. The design principles that apply to using UIs in
services have been less strictly, but high recomended, in older OS versions
for years, but are strictly enforced in Vista now. It is not good practice
to have any UIs in services at all.
As for launching interactive processes from a service, that is a separate
issue, and can be accomplished by making use of the lpDesktop parameter of
the STARTUPINFO structure when calling CreateProcess().
Gambit
"Humberto Souza" wrote in message
news:4771b2f7$1@newsgroups.borland.com...
> I am trying to run a win32 form application by a windows service.
Why?
> Is it possible?
Technically yes, but is very difficult to get working properly. What are
you trying to accomplish in the first place?
Gambit