jwong wrote: > The problem is I cannot perform operations such as creating a new thread (using afxbeginthread()) within my Windows app or use EnterCriticalSection() and LeaveCriticalSection(). Of course you can't. You can not mix synchronization operations of Wine and native system. It won't ever work properly. The only way you can do this is via some sort of IPC. For example stdin/stdout, pipes, socket.