CoInitialize() should be called for each thread in the application that makes COM calls. Not just once at application startup.


Home » Using CoInitialize()
CoInitialize() should be called for each thread in the application that makes COM calls. Not just once at application startup.