title: Using MFC in Windows service?
body: <p>I'm starting to develop a Windows service. I want to use some classes from my own, that has little dependencies to some MFC classes like CString, CSocket, CArchive, CMemFile and CObject. <a href="http://msdn.microsoft.com/en-us/library/cys3kd51(VS.80).aspx" rel="noreferrer">MSDN</a> says you need to be very careful about which pieces of MFC you use in the Windows service, but don't specifies it and don't describes the problems that can occur.</p>
  
  <p>My questions are:</p>
  
  <ul>
  <li>what pieces of MFC can be used?</li>
  <li>what problems can I expect, by using MFC?</li>
  <li>which parts of Windows service are critical for MFC use?</li>
  <li>is it advisable to use ATL instead of MFC for Windows service?</li>
  </ul>