title: Cannot open include file: 'atlbase.h': No such file or directory
body: <p>Please have a look at the following code</p>
  
  <pre><code>#define _ATL_APARTMENT_THREADED
  
  #include &lt;atlbase.h&gt;
  //You may derive a class from CComModule and use it if you want to override something,
  //but do not change the name of _Module
  extern CComModule _Module;
  #include &lt;atlcom.h&gt;
  
  #include &lt;sapi.h&gt;
  #include &lt;iostream&gt;
  
  using namespace std;
  
  int main(int argc, char* argv[])
  {
   cout &lt;&lt; "Hello" &lt;&lt; endl;
   ISpVoice * pVoice = NULL;
  
   if (FAILED(::CoInitialize(NULL)))
       return FALSE;
  
   HRESULT hr = CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void **)&amp;pVoice);
   if( SUCCEEDED( hr ) )
   {
       cout &lt;&lt; "Succeeded" &lt;&lt; endl;
       hr = pVoice-&gt;Speak(L"Hello world", 0, NULL);
       pVoice-&gt;Release();
       pVoice = NULL;
   }
   else
   {
       cout &lt;&lt; "Not succeeded" &lt;&lt; endl;
   }
  
   ::CoUninitialize();
   return TRUE;
  }
  </code></pre>
  
  <p>I am using QT. When I run this code, I get the error </p>
  
  <blockquote>
    <p>Cannot open include file: 'atlbase.h': No such file or directory</p>
  </blockquote>
  
  <p>I noticed that I do not have the files <code>atlbase.h</code> or <code>atlcom.h</code> in my machine. However, this code runs without error in my laptop, and I got those 2 files there.</p>
  
  <p>I am thinking about getting a copy of those 2 files into my desktop computer and will it work? If yes, to which folder do I have to copy them? I am new to Windows programming, QT and speech.</p>