469,883 Members | 1,158 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,883 developers. It's quick & easy.

CoCreateInstance Hangs while performing registration

Hi
I have a component writtten in vc++ registered in MTS. I use MFC DLL which initializes and creates an instance and uninitialize of this MTS component. I use COInitialize ,COCreateInstance and CoUninitialize to perform this. The method which contains this CoInitialize ,CoCreateInstace and CoUninitialize is called by a ATL DLL. When i try to compile this ATL DLL it hangs while performing registration. But if i remove the CoCreateInstance call in my MFC DLL the ATL Registration succeeds.
Can anybody help to over come this probelm

Nov 17 '05 #1
0 2203

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Serge | last post: by
3 posts views Thread by Jacob Crossley | last post: by
2 posts views Thread by Jules Winfield | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.