CRfcConnection 
Purpose
Constructs a CRfcConnection object using the information contained in the userInfo structure and specified by the destination string.
Syntax
CRfcConnection (const RFC_USER_INFO &userInfo, CSTR destination = NULL);
Parameters
userInfo: A structure that contains user logon information. See RFC_USER_INFO.
destination: A string that specifies the name of the destination for connection. If the connection is not described completely, or if the RFC_MODE_PARAMETER is used, this name is used as a key for the sideinfo file or the saprfc.ini file, where the connection should be described. You always have to provide the destination information when making a connection as a client. If not specified here, specify it using the SetConnectInfo method or the ConnArgv method before trying to establish a connection as a client.
Exceptions
Throws const char* for memory exceptions.
Description
This constructor is only used for RFC client programs.
Related Information
SetUserInfo
SetConnectInfo