Hi,

I am new to COM Programming.

I want to initialize COM library. I am calling

hr = CoInitializeEX(NULL);

but hr = S_FAIL. and my code is stopped.

What I have to do further to execute COM program written in VC++.NET 2005.


--
Regards,
Asif

CodeProject has some articles that may help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.