Are CoInitialize(NULL)
and CoUninitialize()
automatically 开发者_Go百科called by ATL?
Or I still have to call CoInitialize(NULL)
and CoUninitialize()
at the beginning and end of my COM application respectively?
In fact you have to call these in every thread in which you want to use COM calls.
精彩评论