RPC HELP DLL GuideLines CPP Initialize the Class

RPC Broker Help Home

DLL Interface Home C++: Initialize the Class The first step to using the RPC Broker 32-bit DLL in a C++ program is to load the DLL and get the process addresses for the exported functions. To initialize access to the Broker DLL functions:

1. Include bapi32.hpp in your program:

#include bapi32.hpp This includes the TRPCBroker C++ class definition in your program. When you (later) create a TRPCBroker C++ class object in your program, the class definition takes care of loading the DLL if not already loaded, mapping the DLL functions if not already mapped, and creating the instance of the TRPCBroker component.