Ok, got it! The trick is to switch the statements (more or less):
// Ensure exclusive execution
CMutex *oMttx = new CMutex(FALSE, "MUTEST");
CSingleLock singleLock(oMttx, FALSE);
singleLock.Lock(10); // The 10 is important, otherwise this statements blocks the execution, until...