Building C++ RFC Client or Server Applications 

Purpose

Before you can develop and use C++ RFC applications, you must properly configure both your development and client workstations, and the R/3 System.

Prerequisites

See System Requirements

Process Flow

  1. Set up the R/3 System so that your developed applications can call RFC functions or call functions in external programs through the R/3 gateway.
  2. Set the paths in your C++ compiler to the RFC library and C++ RFC class library header files and libraries.
  3. If you are developing applications for a Win32 operating system, you must also install a copy of the RFC dynamic link library (librfc32.dll) on all clients when you install RFC client or server application executables developed with the C++ library. In other operating systems, you only need to distribute the executables.
  4. If you develop C++ RFC applications in Microsoft Visual C++ 5.0 running on Windows NT 4.0, you must change some default settings to successfully compile and link applications. See Configuring the MS Visual C++ Compiler for more information about this process.
  5. To develop an RFC server application, you must derive a sub-class from CRfcServerAPP because it is an abstract class. We also recommend that you derive a subclass from CRfcClientFunct if you develop RFC client applications.