home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / win32s.zip / WHELLO.CPP < prev    next >
C/C++ Source or Header  |  1994-04-30  |  860b  |  28 lines

  1. #include "windows.h"
  2. #include "windowsx.h"
  3. #include <string.h>
  4. #include <dos.h>
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <shellapi.h>
  8. #include <commdlg.h>
  9.  
  10. /****************************************************************************
  11.  
  12.     FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int)
  13.  
  14. ****************************************************************************/
  15.  
  16. int PASCAL  WinMain(
  17.      HANDLE hInstance,                /* current instance             */
  18.      HANDLE hPrevInstance,            /* previous instance            */
  19.      LPSTR lpCmdLine,                 /* command line                 */
  20.      int nCmdShow)                    /* show-window type (open/icon) */
  21. {
  22.   MessageBox(NULL,
  23.                 "Hello, I'm a Win32 Windows application",
  24.                 "WinHello 32 Bits - 100% free",
  25.                 MB_OK|MB_ICONEXCLAMATION);
  26.   return 0;
  27. }
  28.