CPIC: CPI-C TP Sample for Asynchronous CPI-C Calls

Click to open or copy the files for the CPIC sample.

This sample is a simple CPI-C TP that illustrates the use of asynchronous CPI-C calls.

For more information, see Sample CPI-C TPs in the SDK in CPI-C Programmer's Guide.

The file CPICSR contains the main routines for CPI-C versions of the sending and receiving TPs SENDTP and RECVTP.

There is a Snaenv.bat file to set environment variables, available via the SNA Samples topic.

Building SDK Samples

This sample uses the following keywords:

atoi; build_tp_ended; cmaccp; cmallc; cmcfm; cmcfmd; cmdeal; cminit; cmrcv; cmsend; cmsltp; cmspm; cmssl; cmwait; createwindow; debugbreak; defined; defwindowproc; dispatchmessage; do_cmaccp; do_cmallc; do_cmcfm; do_cmcfmd; do_cmdeal; do_cminit; do_cmrcv; do_cmsend; fclose; fopen; fprintf; generatedata; getc; getmessage; getmodulefilename; getstockobject; gettickcount; initialisemain; initialisewinmain; issuenextverb; loadcursor; loadicon; lstrcpy; malloc; newconversation; outputresults; padstring; postmessage; postquitmessage; processreturns; readconfig; readstring; registerclass; registerwindowmessage; setwindowtext; showwindow; sprintf; strcmpi; strcpy; strncpy; strtok; strupr; tpwndproc; translatemessage; wincpiccleanup; wincpicstartup; winmain; xchwnd