Newbie
September 9th, 1999, 02:34 PM
hi, im developing a multithreaded app in NT and i was wondering which would be better for me to use, CoInitialize or CoInitializeEx.
the multithreaded app uses COM objects but does not share them. each thread has its own COM object so there is no problem with syncronization. i am new to COM so im not too familiar with the threading models, and was wondering if anyone can tell me which i should use to initialize COM.
also should i initialize COM in the main thread or in each worker thread separately?
any help would be greatly appreciated
thanks in advance
the multithreaded app uses COM objects but does not share them. each thread has its own COM object so there is no problem with syncronization. i am new to COM so im not too familiar with the threading models, and was wondering if anyone can tell me which i should use to initialize COM.
also should i initialize COM in the main thread or in each worker thread separately?
any help would be greatly appreciated
thanks in advance