Skip to main content

 
IBM Power Systems software  >  IBM i  > Software  > 

System i Access for Windows

  
  C/C++

The following sample programs are available to help develop System i Access for Windows applications using C and C++:

ActiveX Custom Controls

  • uncapp.exe- Use of Operations Navigator Tree and List controls in a C++ application.


C/C++ APIs

  • adsamp1.exe- Demonstrates correct method to determine the version and release of iSeries Access for Windows on the PC.
  • coconsce.exe- Use of Communications System Object APIs in various connection scenarios.
  • cogetsys.exe- Demonstrates using Communications APIs.
  • convsamp.exe- Sample using the cwbNL_ConvertCodePages API to perform code page conversion on files.
  • dbapisp1.exe- C programs that demonstrate use of the Database APIs (also referred to as Optimized SQL APIs).
  • dirupdat.exe- C/C++ sample program showing a simple example of setting up Directory Update entries.
  • dqsamp.exe- Data queue sample written in Visual C++ 4.2 using MFC and the Data Queue APIs.
  • hllsmp.exe- - C sample using the PC5250 Emulation EHLLAPI interface.
  • logtrace.exe- Sample program showing usage of the iSeries Access for Windows service log and trace APIs.
  • lstjobx.exe- Display a list of jobs.
  • lstmsgx.exe- Display a list of messages.
  • lstprtx.exe- Display a list of printers.
  • lstsplfx.exe- Display a list of spooled files.
  • pcsmain.exe- C sample using the PC5250 Emulation PCSAPI interface.
  • printobj.exe- Sample using the system Object APIs to provide access to objects related to printing: printers, spooled files, output queues, etc.
  • rcsamp1x.exe- Demonstrates the use of the Remote Program Call API.
  • rcsamp2x.exe- Demonstrate the use of Run Comand API.
  • usfsampl.exe- Demonstrates the use of the Ultimedia System Facilities (USF) APIs.
  • wdtsampx.exe- Sample program to show how to use the iSeries Access for Windows Data Translation API.


C++

  • eclmon.exe- A sample Emulator Class Library application which implements a PC5250 "system monitor".
  • eclsamps.exe- A collection of all the Emulator Class Library sample code.


DDE

  • spl2file.exe- C sample using the PC5250 Emulation DDE interface.


ODBC

  • odbcsmpl.exe- C Sample Program using the iSeries Access for Windows ODBC Driver.