I attached a C++ solution based sample where a executable just loads a implicit linked DLL, just to show my problem.
The sample does export some small objects but just to get the DLL loaded when starting up the application, no snese behind.
I let it run on a Netdcu8 as platform.
If I create a new Mutex in the DLL it always returns that it is already existing(see error code in DLL)
If I create a new Mutex in the Executable, it works as expected, it is created new. You can try in the code, just remove the remarkes in the exe.
Do you see the same results?
It doesnÃ‚Â´t matter if I change the mutex name in the DLL or cold reboot the device, it is always doing the same behaviour, telling me that the mutex is already there or created.
Does anybody have an idea how to come behind the that?
Is it forbidden to create mutex in DLL? I thought always it should be same as in executable, may be it is not?
bye[attachment=0]<!-- ia0 -->TestMutexDllExe.zip<!-- ia0 -->[/attachment]