Menu

Windows API and that stoopid dos window...

2002-10-04
2012-09-26
  • Nobody/Anonymous

    Ok I'm really new to the Windows API and making a program using windows only and not dos at all.  Is there a way to get rid of the dos window from ALSO showing up when I compile/run the .exe?  In otherwords, I just want to see a window not window+dos.  Thnx, any help would be appriciated =)

     
    • Nobody/Anonymous

      Hey man,

      Go into compiler options-> linker tab -> do not create console window. If this is a project, then go project options -> General -> Win32 GUI. L8tr bud,

      Kip

       
    • Anonymous

      Anonymous - 2002-10-04

      but in win32 application there is no main() function
      only processes u call with event on i/o or objects
      ex:
      on WM_DESTROY u call PostQuitMessage();
      or
      WM_MOUSEMOVE
      WM_LBUTTONDOWN
      WM_LBUTTONUP can be used to get the mouse events on the window ... : )

       
      • Nobody/Anonymous

        Create a Win32 project and discover to woderful world of the WinMan function.

         
    • Anonymous

      Anonymous - 2002-10-04

      if no help search on the http://msdn.microsoft.com/
      u got the free VC++ oline documentation (but it's hard to find things u want, cause their Search motor is bad)
      http://www.bloodshed.net/dev/doc/index.html
      there are may things !
      or programmersheaven.com

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.