title: Error LNK1561: entry point must be defined
body: <p>I am working with Visual Studio 2012. </p>
  
  <p>My Solution has 3 projects </p>
  
  <p><em><strong>projectA</em></strong> </p>
  
  <p><em><strong>projectB</em></strong></p>
  
  <p><em><strong>projectC</em></strong></p>
  
  <p>and the Hierarchy is like</p>
  
  <p><strong>projectC</strong> depends on <strong>projectB</strong> which in turn depend on <strong>projectA</strong>. There is a <strong>main function</strong> in projectC and no main in projectB and  projectA.
  The errors that i am getting are:</p>
  
  <pre><code>error LNK1561: entry point must be defined      projectA
  error LNK1561: entry point must be defined      projectB
  </code></pre>
  
  <p>I have tried changing in the 
  Configuration Properties -> Linker -> System -> SubSystem to Console (/SUBSYSTEM:CONSOLE) But the  problem still persists</p>
  
  <p>Help me out of this.</p>