home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / open32 / toybox2 / main.c < prev    next >
Text File  |  1999-05-11  |  1KB  |  23 lines

  1. /*╓───────────────────────────────────────────────────────────────╖*/
  2. /*║ File:         MAIN.C                                          ║*/
  3. /*║ Date Created: 02/15/95                                        ║*/
  4. /*╙───────────────────────────────────────────────────────────────╜*/
  5.  
  6. /*╓───────────────────────────────────────────────────────────────╖*/
  7. /*║ Description:                                                  ║*/
  8. /*║   This is "main" wrapper for a DAPIE-Based app.  It initial-  ║*/
  9. /*║ izes the AWE environment, call the WinMain function, and upon ║*/
  10. /*║ completion, calls the WinTerm function to shutdown the AWE    ║*/
  11. /*║ environment.                                                  ║*/
  12. /*║                                                               ║*/
  13. /*╙───────────────────────────────────────────────────────────────╜*/
  14.  
  15. /* Include the windows header files ... */
  16. #include <os2win.h>
  17.  
  18. int main(int argc, char *argv[], char *envp[])
  19. {
  20.    /* Now call WinRun to run the application ... */
  21.    return WinCallWinMain( argc, argv, &WinMain, SW_SHOWNORMAL );
  22. }
  23.