I have a COM dll that is run inprocess by two separate executables - one of the executables is run as a service. The OS that both executables are running on is NT4. That said, now here's the problem:
In the dll, there is an interface that has a call to CreateMutex which succeeds if the service executable is not running and the other executable is just accessing the dll standalone.
However if the service executable is started, the call to CreateMutex fails if the non service executable tries to call on the dlls interface. This stops the non service excutable program from working properly.
Can anyone give me the solution to this problem, so that both executables can access the dlls methods at the same time?