RPC HELP DLL GuideLines CPP Initialize the Class
From VistApedia
Revision as of 16:05, 8 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home DLL Interface Home <h2>C++: Initialize the Class</h2> The first step to using the RPC Broker 3...")
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.