CoCreateInstance Hangs while performing registration

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Back
Top