semaphores and message boxes transformed to c++
nop
nop