title: visual studio solution with multiple projects doesnt compile
body: <p>I first made a program in eclipse (mingw compiler). Now i am translating the code to Visual Studio 2008.
  It is one solution with multiple projects. 2 of the projects are for running a (console) program. The other 2 projects are helper classes for those. I have set the project dependencies so that the projects are compiled in the correct order.
  I now get an error message LNK2019 and LNK1120 because i have no main in the helper project.
  I have tried to compile the helper projects without linking but i cant find out how i should do that. I have tried adding the -c compiler option but unsuccessful. I have also tried to add a useless main to the helper project, but then compilation fails on compiling the real main with "function cannot be overloaded".</p>
  
  <p>How can i fix this so i can have helper projects without a main?</p>