home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
ICLUI
/
HELLO2
/
README2.TXT
< prev
Wrap
Text File
|
1993-10-18
|
8KB
|
110 lines
***************************************************************************
* HELLO WORLD SAMPLE PROGRAM - Version 2: Readme File (README2.TXT) *
* *
* COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1993.*
* *
* DISCLAIMER OF WARRANTIES: *
* The following [enclosed] code is sample code created by IBM *
* Corporation. This sample code is not part of any standard IBM product*
* and is provided to you solely for the purpose of assisting you in the *
* development of your applications. The code is provided "AS IS", *
* without warranty of any kind. IBM shall not be liable for any damages*
* arising out of your use of the sample code, even if they have been *
* advised of the possibility of such damages. *
*-------------------------------------------------------------------------*
* See the User Interface Class Library Users Guide for more information *
* about this sample program. *
* *
* C++ Hello World Version 2 Key Functions: *
* - Create Main Window (AHellowWindow) as subclass of IFrameWindow *
* - Gets the "Hello, World!!" text string and other items from a *
* resource file *
* - Sets the window title from a resource file *
* - Creates and sets the information area at the bottom of the *
* client area *
***************************************************************************
***************************************************************************
* File list: *
* README2.TXT - Readme file for HELLO2.EXE. *
* AHELLOW2.CPP - Source code for the main() function and the *
* AHelloWindow class. *
* AHELLOW2.HPP - Header file for the AHellowWindow class. *
* AHELLOW2.H - Symbolic defintion file for HELLO2.EXE. *
* AHELLOW2.RC - Resource file for HELLO2.EXE. *
* AHELLOW2.ICO - Icon file for HELLO2.EXE. *
* AHELLOW2.DEF - Module definition file for HELLO2.EXE. *
* AMAKE2.MAK - Make file to create HELLO2.EXE. *
* AMAKE2.CMD - Command file to create HELLO2.EXE. *
* BUILD2.CMD - Command file to compile, link and run HELLO2.EXE. *
* CLEANUP2.CMD - Command file to clean up (erase) the following *
* generated files: HELLO2.EXE, AHELLOW2.OBJ, *
* AHELLOW2.MAP, AHELLOW2.ERR, and AHELLOW2.RES. *
***************************************************************************
***************************************************************************
* File Relationship Diagram (Files in uppercase, Programs in lowercase) *
* *
* AHELLOW2.H iconedit *
* │ │ │ *
* AHELLOW2.HPP │ │ AHELLOW2.ICO *
* │ │ │ │ *
* │ │ │ │ *
* v │ │ │ *
* AHELLOW2.CPP <─────┘ └────────────> AHELLOW2.RC<─┘ *
* │ │ *
* │ rc -r *
* │ │ *
* v AHELLOW2.RES *
* icc -c ═════ AHELLOW2.OBJ │ *
* │ │ *
* v │ *
* AHELLOW2.DEF ──>icc /Tdp ->AHELLOW2.MAP │ *
* │ │ *
* v v *
* HELLO2.EXE ──────────> rc ───────────> HELLO2.EXE *
***************************************************************************
***************************************************************************
* ╔═══════════╗ *
* Window Parent Relationship Diagram: Diagram ║Class Name ║ *
* Key: ║───────────║ *
* IApplication::current().run() ║Object Name║ *
* ╚═══════════╝ *
* *
* ╔════════════╗ *
* ║AHelloWindow║ *
* ║────────────║ *
* ║ mainWindow ║ *
* ╚════════════╝ *
* │ ╔══════╗ *
* ├────────── ║ITitle║ *
* │ ╚══════╝ *
* │ *
* │ *
* │ *
* ┌──────────────────────────┴────────────────────────────┐ *
* ╔═══════════╗ ╔═════════╗ *
* ║IStaticText║ ║IInfoArea║ *
* ║───────────║ ║─────────║ *
* ║ hello ║ ║infoArea ║ *
* ╚═══════════╝ ╚═════════╝ *
* (Client Window) *
***************************************************************************
***************************************************************************
* The HELLO2.EXE Sample Application can be built in two ways: *
* *
* Option 1: Run BUILD2.CMD *
* *
* This option compiles, links, and executes HELLO2.EXE. It then *
* cleans up all files created by BUILD2.CMD. *
* *
* Option 2: Run AMAKE2.CMD *
* Run HELLO2.EXE *
* Run CLEANUP2.CMD *
* *
* AMAKE2.CMD compiles and links HELLO2.EXE. *
* CLEANUP2.CMD cleans up the files built by AMAKE2.CMD. *
***************************************************************************