punchinello 0 Light Poster

I've build a program with MFC using vc6.0. It consists of a dialogbox and another dialogbox that pops up when you click a button on the first one. And I want to enable TTS on both dialogboxes. Any idea to make sure it works on both? Suppose I use the following lines to do the initialization. Thank you very much!

CoInitialize( NULL );
CComPtr<ISpVoice> cpVoice;
cpVoice.CoCreateInstance(CLSID_SpVoice);
CoUninitialize();