title: How do I build a VB6 Console App
body: <p>I did some googling to try to answer this question but even after that I'm not quite clear about something.  Is it possible to create a console app from VB6?  </p>
  
  <p>I've got a VB6 app that doesn't put up a window.  I always assumed that it was a console app.  However, I want to be able to use the Windows API SetConsoleCtrlHandler function from within it.  I believe that with C++/MFC apps you have to set a linker switch to create a console app.  And one of my fellow developers told me that VB6 doesn't create a true console app and therefore this would not work.  So is it possible to create a console app that Windows will recognize as a console app from VB6?</p>
  
  <p>Platform: Windows XP SP2</p>
  
  <p>Development Platform: VB6</p>