Microsoft Foundation Classes (MFC) Samplecode

The MFC Events sample application demonstrates how to connect to the host using COM objects under MFC and how to receive events from screen objects.

This sample is located in <Installation Location>\samples\MFC\Events. If you did not install the VSDK COM/.NET Support option, this sample application is unavailable.

To run this sample application, you must modify the embedded XML configuration in the CEventsDlg::OnRequestScreen method with the host name and terminal ID. For more information on creating XML configurations, see Defining an XML Configuration.

For UTS, you need to modify the Int1 configuration parameters (Tsap, AppName, InetAddress, and TerminalId) to match the host. The Int1 XML configuration parameters are documented in Requesting a UTS INT-1 Screen Object.

Related Topics
ActiveX Technologies Supported
Development Tools Supported
  Footer