IBM i Access for Windows PC5250 emulation APIs

The IBM® i Access for Windows PC5250 emulator provides desktop users with a graphical user interface for existing system applications. PC5250 allows users to easily and transparently interact with IBM i stored data and applications.

PC5250 provides C/C++ application programming interfaces (APIs) for enabling workstation programs to interact with IBM i host systems.

IBM i Access for Windows PC5250 C/C++ APIs:

Emulator high-level language API (EHLLAPI)
A simple, single-entry point interface that interprets the emulator screen.
Personal communications session API (PCSAPI)
Use this interface to start, stop, and control emulator sessions.
Host Access Class Library (HACL)
This interface provides a set of classes and methods for developing applications that access host information at the data-stream level.

IBM i Access for Windows emulation APIs required files:

Emulation interface Header file Import library Dynamic Link Library
Standard HLLAPI hapi_c.h pscal32.lib

pcshll.dll
pcshll32.dll

Enhanced HLLAPI ehlapi32.h ehlapi32.lib ehlapi32.dll
Windows EHLLAPI whllapi.h

whllapi.lib
whlapi32.lib

whllapi.dll
whlapi32.dll

HACL interface eclall.hpp

pcseclva.lib
pcseclvc.lib

pcseclva.dll
pcseclvc.dll

PCSAPI interface pcsapi.h pcscal32.lib

pcsapi.dll
pcsapi32.dll

Programmer's Toolkit:

The Programmer's Toolkit provides Emulator interfaces documentation, access to header files, and links to sample applications. To access this information, open the Programmer's Toolkit and select Emulation —> C/C++ APIs.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.