DLLs shared by Service and a Process

From: Ramasubramanian J (ramasubramanianj_at_myrealbox.com)
Date: 05/05/03


Date: Mon, 5 May 2003 10:53:08 -0700


Hi,

I have the following set up in my PC, running Windows 2000.

I have two applications : App1 and App2. I also have a
Service. The service starts App1 (by calling
CreateProcess), and interacts with App1 periodically. The
Service is installed as "Interactive". It runs in
LocalSystem Account. App1 and App2 share a couple of Dlls:
DLL1 & DLL2.

The Problem:
If I start App1 by starting the Service, App2 does not
start. But, if I just start App1 by double cliking from
Explorer, App2 is able to run.

Can you please tell me why this is happening? Also, please
tell me what I should do to make App1 & App2 run at the
same time, even when App1 was started by the Service.



Relevant Pages

  • Using a Global Mutex
    ... I have an application App1, that after doing some stuff starts App2. ... of a global section from a session other than the initial system session ...
    (microsoft.public.windowsxp.general)
  • Using a Global Mutex
    ... I have an application App1, that after doing some stuff starts App2. ... of a global section from a session other than the initial system session ...
    (microsoft.public.win2000.termserv.clients)
  • Using a Global Mutex
    ... I have an application App1, that after doing some stuff starts App2. ... of a global section from a session other than the initial system session ...
    (microsoft.public.windowsxp.customize)
  • Using a Global Mutex
    ... I have an application App1, that after doing some stuff starts App2. ... of a global section from a session other than the initial system session ...
    (microsoft.public.win32.programmer.kernel)
  • Using a Global Mutex
    ... I have an application App1, that after doing some stuff starts App2. ... of a global section from a session other than the initial system session ...
    (microsoft.public.windows.terminal_services)