Re: User interface and services.exe



On Apr 21, 12:01 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
It might be physically possible by launching a new thread for a message
loop, etc., but you definitely *shouldn't* do it, even if it's theoretically
possible.  Are you saying that you want the configuration program or
whatever for the service to be part of the service DLL itself?  That's
definitely not the way it's intended to work; write a separate Control Panel
applet or configuration application.  Or are you saying that you want to
have a program that acts as a background service and has some UI?  If that's
it, you should consider not doing this as a service, but just as an
application.

Paul T.

"atomic928" <csmit...@xxxxxxxxxxxxxx> wrote in message

news:d1b6c962-d3f4-4a65-b9c5-55d4b8cf4942@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Is there any reason I can not run a GUI from my dll that I load into
services.exe. I do not really want a client/server architecture, I am
trying to keep this as simple as possible with one app/dll for the
whole project.
Thanks for any help- Hide quoted text -

- Show quoted text -

This project is ultimately for windows mobile 5 devices and as you
know wm devices are limited to 32 processes. I want to make sure I am
loaded and not bumped out of the startup if I am process 33. My
understanding is that services.exe is a process that will run the dll
as a thread thusly assuring loading of the dll. Now if I run the app
as a separate or stand alone client I am back to the '33' process
dilemma. Or is there some architecture procedure I am missing that I
can assure that I am started as one of the 32 processes?

Thanks
.



Relevant Pages

  • Eroor message when opening vs.net 2002
    ... When i want to open vs.net 2002 professional edition, a window installer ... message box appears saying: "Please wait while windows configures Microsoft ... DLL" ...
    (microsoft.public.dotnet.languages.vb)
  • Re: VB DLL Accessed by Multihreaded Application
    ... Are you saying that if I create 5 MTA ... > main STA thread? ... Or are you saying that the VB dll has got only one thread to ... MTA, and so will be synchronised on a single thread. ...
    (microsoft.public.vb.com)
  • Re: System-wide hooking, VB+ASM
    ... > It looks as if you are saying that a DLL need not have an entry point. ... I avoid saying "Wrong" like that and I seldom do. ... A DLL is just a bunch of functions. ... assembler did nearly a half century ago. ...
    (microsoft.public.vb.winapi)
  • Re: How do I stop a running program during uninstall or reinstall?
    ... >> I think I need to send a message from the DLL to my application saying ... or maybe find the processes and terminate it. ... > How do I stop a running program during uninstall? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: passing string from c# to unmanaged dll
    ... I'm unclear on what you are saying in terms of what you have and haven't ... The dll itself works, the only thing that does not is to ... >> Marshalling shouldn't be a problem here, it should come out in the wash. ... and possibly set the CallingConvention member depending on ...
    (microsoft.public.dotnet.framework.interop)