Fixed ascii/unicode issue for naming of the mutexes.
Made mutex handles global.
Fixed incorrect interpretation of return values of WaitForSingleObject.

1 file changed