Distributing library which internally using COM library

I would like to create a dll library that will be loading in runtime. The library’ll be using internally COM objects with MTA flag. The library will be created in main thread.

So I have question: Where there is best place where can I call ‘CoInitializeEx’ and ‘CoUninitialize’ functions. In the my dll(init/deinit functions) or client should call directly these functions?

I prefer first option. I would like avoid public dependig on COMs. Client shouldn’t know I’m using COMs, but also I’d like avoid crashes when client unload my lib(then I call ‘CoUninitialize’ for my lib) and other libs(depend on COM) will be in undefined state.