开发者

crash with CoUnintailize() api of COM

My main process(main.exe)开发者_如何学JAVA initilaized COM library and created a thread which creates a new process(p1.exe) this new process is again initializing COM library and after making all references as zero unintialized COM here.. the unintailezed COM in the main process (i.e main.exe) also....

When i run p1.exe individually it is successful.. but it is crashing when i create a process for p1.exe from main.exe


Have you tried using CoInitializeEx()?
You should youse CoInitializeEx with COINIT_APARTMENTTHREADED.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜