Verastream SDK for Airlines
Microsoft Foundation Classes (MFC) Sample Code

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>\Program Files (x86)\Attachmate\VerastreamSDK\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 in the EventsDlg.cpp file 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.

Note

COM and .NET applications developed with the Verastream SDK do not support the 64-bit JRE . For these applications, use the 32-bit JRE. Running a COM or .NET application using the 64-bit JRE causes COM automation error 80131534, as displayed in the following message:

Run-time error '-2146233036(80131534)'
The type initializer for 'SessionLoader.SessionLoader' threw an exception.

Related Topics
ActiveX Technologies Supported
Development Tools Supported
  Footer