On 9/25/2013 16:03, Aric Stewart wrote:
Why do you need to unlock/lock around ImmCreateContext()? Is it related to SendMessage() it calls?+ if (!thread_data->defaultContext) + { + HIMC defaultContext; + LeaveCriticalSection(&threaddata_cs); + defaultContext = ImmCreateContext(); + thread_data = IMM_GetThreadData(0);