Sample Programs
Several sample programs are provided, each of which illustrates
the use of one of the Personal Communications APIs. If you choose to install the sample
programs, they will be installed in the \SAMPLES directory.
Note:
International Business Machines Corporation provides these
files as is, without warranty of any kind, either express or implied,
including, but not limited to, the implied warranties of merchantability
or fitness for a particular purpose.
The sample program files include source and supporting files for
the following Personal Communications APIs:
- Emulator High-Level Language Programming Interface (EHLLAPI)
- Dynamic Data Exchange (DDE)
- PCSAPI Functions
The following files are installed in the \SAMPLES directory.
| File Name | Description |
|---|---|
| DDE_C.H | DDE include file |
| EHLAPI32.H | IBM® standard 32-bit EHLLAPI include file |
| WHLLAPI.H | WinHLLAPI 16-bit include file |
| HAPI_C.H | EHLLAPI include file |
| PCSAPI.H | PCSAPI include file |
| PCSCALLS.LIB | Import library for standard interface |
| PCSCAL32.LIB | Import library for enhanced interface |
| EHLAPI32.LIB | Import library for IBM® Standard 32-bit EHLLAPI interface |
| WHLLAPI.LIB | Import library for WinHLLAPI 16-bit interface |
| WHLAPI32.LIB | Import library for WinHLLAPI 32-bit interface |
The following subdirectories are created in the \SAMPLES directory.
| File Name | Description |
|---|---|
| DDXFER | Shows how EHLLAPI can be used to create a Drag and Dropapplication; in this case, for file transfer |
| ECL | HACL sample files |
| HLLSMP | Shows how to use EHLLAPI to request a keystroke and log on to a VM system
.(X86) Supports the logon, pastetext and sendkey functionalities. Please refer to the hllsmp\ Readme.txt for the details on using the above-mentioned functionalities with hllsmp.exe. (X64) |
| LISTFILE | Illustrates how DDE can make use of the LOAD button to transfer files from the host |
| PCSMAIN | Illustrates the use of PCSAPI to start and stop sessions, query the session status, and query the profile for the session |
| SPL2FILE | A program that uses DDE to save an iSeries™, eServer™ i5, or System i5™ spool file as an ASCII file on the PC |
| VBDDE | VBDDE sample files |
| VBHLLAPI | VBHLLAPI sample files |
| VBPCSAPI | VBPCSAPI sample files |