home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / open32 / hiworld2 / readme < prev   
Text File  |  1999-05-11  |  2KB  |  35 lines

  1. This version of HIWORLD will run without changes on an OS/2 system with
  2. the DAPIE extensions installed.  For your reference, an executable is included.
  3.  
  4. It is built from the Win32 version following these steps:
  5.  
  6.         1) Convert Win32 resource file (HIWORLD.RC) to OS/2 resource file
  7.            using the SMART tool (Version 2.1B).  Note that SMART will rename
  8.            your Win32 resource file (.rc) to .rcx and will create an OS/2
  9.            resource file with the .rc extension.
  10.         2) Convert cursor file (CURSOR1.CUR) and icon file (ICON2.ICO) to
  11.            OS/2 format using the SMART tool (Version 2.1B).
  12.         3) Change includes of <windows.h> to includes of <os2win.h>. This
  13.            is done in hiworld.c via an #ifdef.
  14.         4) Create a .DEF file and specify a stack size of at least 64K.  There
  15.            is a sample .DEF file in this directory.
  16.         5) Compile and link MAIN.C (found in the toolkit\c directory under your
  17.            DAPIE directory) with HIWORLD.C to form HIWORLD.EXE.  This is done
  18.            in the makefile provided with this sample.
  19.         6) Run HIWORLD.EXE as you would any other OS/2 executable.
  20.  
  21. This sample was built with IBM C/Set++ Version 2.01 and the OS/2 Developer's
  22. Toolkit for OS/2 Warp Version 3.
  23.  
  24. In this directory, you will find these files:
  25.         cursor1.cur - custom cursor
  26.         icon2.ico - custom icon
  27.         hiworld.def - linkage information
  28.         hiworld.exe - prebuilt executable
  29.         hiworld.c - source code
  30.         hiworld.rc - resource file (after conversion)
  31.         hiworld.h - header file
  32.         main.c - wrapper function
  33.         makefile - makefile to build hiworld with IBM C/Set 2.01
  34.         readme - this file
  35.