RFC C++ Class Library (BC-FES-AIT)
What's New in Release 4.6B?
Overview
Who Should Use this Help File
General Class Design Principles
Class Hierarchy Diagram
Prerequisites
System Requirements
Building C++ RFC Client or Server Applications
Customizing the MS Visual C++ Compiler
Major Class Categories
The Connection Class
The Function Classes
The Server Application Classes
The Parameter Classes
Other Auxiliary Classes
Working With the Class Library
What the CRfcFunction Class Represents
How the CRfcClientFunc Class Works
How the CRfcServerFunc Class Works
The CRfcServerApp Class: Encapsulation of the Serv
Using the CRfcServerApp and Derived Classes
Writing Multithreading RFC Server Applications
Developing RFC Servers with RFC Server Functions
The CRfcTransApp Class and Transactional RFC
Getting System Information from the Calling System
Setting and Getting Values of Parameter Objects
Removing Parameter Objects
Replacing Parameter Objects
Example of Set and Get Value Methods
Row Manipulation of the CRfcTableParam Class
Accessing Field Values in a Parameter with Complex
Class Library Reference
Structures and Globals
The RFC_USER_INFO structure
The RFC_CONNECT_INFO structure
The RFC_FIELD_INFO Structure
The RFC API RFC_ERROR_INFO_EX Structure
Some global definitions
The CRfcClientFunc Class
CRfcClientFunc
Call
CallReceive
CreateTransID
IndirectCall
Read
Receive
Write
The CRfcComplexParam Class
AddFieldInfo (Multiple Fields)
AddFieldInfo (Single Field) (Defunct)
ClearAllFieldInfo
CopyAllFieldInfo
CRfcComplexParam (Default Constructor)
CRfcComplexParam (Copy Constructor)
GetEBCDICCodePage
GetFieldCount
GetFieldInfo (by Index/Column Number)
GetFieldInfo (by Name)
m_bNeedConversion
Read
SetEBCDICCodePage
Write
The CRfcConnection Class
Abort
Accept (Console Version)
Accept (Windows Version)
Clear
Close
ConnArgv
Connect
ConnectInfoFromConnectParam
ConnectParamFromConnectInfo
CRfcConnection
CRfcConnection
Decrypt
Encrypt
FromHandle
GetAttributes
GetCodePage
GetCommandLineArgument
GetConnectInfo
GetHandle
GetR3Release
GetR3SystemInfo
GetR3SystemParameters
GetReleaseString
GetSafeHandle
GetTraceLevel
GetUserInfo
IsR3AtLeast40A
Open
R3SystemInfo (by field-name)
R3SystemInfo (by index)
R3SystemInfoCount
ReadRegistry
SafeConnect
SafeOpen
SetCodePage
SetConnectInfo
SetTraceLevel
SetUserInfo
WriteRegistry
The CRfcData Class
CRfcData
CRfcData (Copy Constructor)
SetAttributes
GetAttributes
Init
SetStraightData
operator= (CRfcData Object)
operator= (Integer)
operator= (String)
operator= (Float Number)
operator= (Array)
CopyRawDataFrom
operator RFC_INT
operator RFC_INT1
operator RFC_INT2
operator CSTR
operator RFC_FLOAT
CopyRawDataTo
ConvertData
The CRfcFunction Class
AddExportParam
AddImportParam
AddTableParam
CRfcFunction
GetConnection
GetConnectionRfcHandle
GetExportCount
GetExportParam (by Index)
GetExportParam (by Name)
GetFunctionName
GetImportCount
GetImportParam (by Index)
GetImportParam (by Name)
GetTableCount
GetTableParam (by Index)
GetTableParam (by Name)
RemoveExportParam (by Index)
RemoveExportParam (by Name)
RemoveImportParam (by Index)
RemoveImportParam (by Name)
RemoveTableParam (by Index)
RemoveTableParam (by Name)
ReplaceExportParam
ReplaceImportParam
ReplaceTableParam
Listen
SetConnection
SetFunctionName
rfcTID
The CRfcImpExpParam Class
Clear
CRfcImpExpParam
CRfcImpExpParam (Copy Constructor)
GetLength
GetParamName
IsAutoCreated
InhibitParamToR3
IsSimpleParam
PassParamToR3
SetParamName
The CRfcPersistStream Class
CRfcPersistStream
CRfcPersistStream (with filename and direction)
Flush
GetDirection
GetFileName
SetDirection
SetFileName
The CRfcServerApp Class
AddServerFunction
Clone
CRfcServerApp
Dispatch
ExitInstance
GetFunctionCount
GetConnection
GetConnectionRfcHandle
GetName
GetServerFunction (by Index)
GetServerFunction (by Name)
OnIdle
InstallFunction
ReceiveData
RemoveServerFunction (by Index)
RemoveServerFunction (by Name)
ReturnCall
Run
SetConnection
UnInstallFunction
The CRfcServerFunc Class
CallReceive
Clone
CRfcServerFunc
GetDescription
GetServerApp
MultipleThreadDataProcess
Process
Raise
RaiseTables
ReceiveData
ReturnCall
SetServerApp
The CRfcSimpleParam Class
Clear
CRfcSimpleParam
CRfcSimpleParam (Copy Constructor)
GetDecimals
GetType
IsAutoCreated
IsSimpleParam
operator= (General)
Read
SetAttributes
Value
Value (for Constants)
Write
The CRfcString Class
Clear
CRfcString
CRfcString (Copy Constructor)
CRfcString (from a CRfcData object)
CRfcString (with Padding)
Find
GetCapitalize
GetLength
GetPaddedLength
GetPaddedString
operator
operator CSTR
operator != (CRfcString object)
operator != (character array)
operator += (CRfcString object)
operator += (character array)
operator= (String object)
operator= (String)
operator == (CRfcString object)
operator == (character array)
operator >= (CRfcString object)
operator >= (character array)
SetCapitalize
Substr (with starting position)
Substr (with starting position and length)
ToUpper
The CRfcStructParam Class
Clear
CopyContentsFrom
CopyContentsTo
CRfcStructParam
CRfcStructParam (Copy Constructor)
GetParamName
IsAutoCreated
IsSimpleParam
operator[ ] (Structure Fields By Index or Column)
operator[ ] (Structure Fields By Name)
operator[ ] (Constant Structure Fields, by Index o
operator[ ] (Constant Structure Fields, by Name)
Read
SetLength
Write
The CRfcTableParam Class
AppendEmptyRow
AppendInitializedRow
Cell (by Row/Column Name)
Cell (by Row/Column Number)
Cell (Constant Table, by Row/Column Name)
Cell (Constant Table, by Row/Column Number)
Clear
ConstRow
ConvertTable
CopyDataFrom
CopyLineFrom
CopyLineTo
Create
CreateEmptyTableCopy
CRfcTableParam
CRfcTableParam (Copy Constructor)
Delete
Field (by Row/Column Number)
Field (by Row/Column/Field Name)
Field (Constant Table, by Index/Column Name
Field (Constant Table, by Index/Column Number)
GetAutoConversion
GetHandle
GetIsConverted
GetLength
GetParamName
GetParentFunction
GetRowCount
InsertEmptyRow
InsertInitializedRow
IsAutoCreated
MoveDataFrom
operator()
Read
RemoveRow
Row
SetAutoConversion
SetCurrentRow
SetLength
SetParamName
SetTypeHandle
Write
The CRfcTransApp Class
CRfcTransApp
OnCheckID
OnCommit
OnRollBack
OnConfirm
Programming Examples