Difference between revisions of "RPC HELP DLL Introduction"

From VistApedia
Jump to: navigation, search
 
Line 7: Line 7:
 
 
 
In Delphi, you have direct access to the TRPCBroker component itself, and its properties and methods. In other development environments, you can only access the properties and methods of the TRPCBroker component through DLL functions. So to understand the DLL interface, you should understand how the TRPCBroker component is used in its native environment (Delphi).
 
In Delphi, you have direct access to the TRPCBroker component itself, and its properties and methods. In other development environments, you can only access the properties and methods of the TRPCBroker component through DLL functions. So to understand the DLL interface, you should understand how the TRPCBroker component is used in its native environment (Delphi).
* DLL Exported Functions
+
* [[RPC_HELP_DLL_ExportFN_List|DLL Exported Functions]]
  
 
The following special issues should be considered when accessing RPC Broker functionality through its DLL:
 
The following special issues should be considered when accessing RPC Broker functionality through its DLL:
Line 13: Line 13:
 
* [[RPC_HELP_DLL_SI_GetServerInfo_Fn|GetServerInfo Function and the DLL Calls]]
 
* [[RPC_HELP_DLL_SI_GetServerInfo_Fn|GetServerInfo Function and the DLL Calls]]
 
 
<h3>Header Files<h3>
+
<h3>Header Files</h3>
 
Header files for using the DLL are provided for C (BAPI32.H), C++ (BAPI32.HPP), and Visual Basic (BAPI32.BAS).
 
Header files for using the DLL are provided for C (BAPI32.H), C++ (BAPI32.HPP), and Visual Basic (BAPI32.BAS).
 
* [[RPC_HELP_DLL_GuideLines_CPP_Overview|Guidelines for Calling DLL from C++]]
 
* [[RPC_HELP_DLL_GuideLines_CPP_Overview|Guidelines for Calling DLL from C++]]

Latest revision as of 11:48, 7 July 2015

RPC Broker Help Home

DLL Interface Home

RPC Broker 32-bit DLL Interface Introduction

Introduction

The functionality of the TRPCBroker component for Delphi is provided in a 32-bit Dynamic Link Library (DLL) interface, in BAPI32.DLL. This enables the use of any development product that can access Windows 32-bit DLLs to create applications that communicate with VistA M Servers through the RPC Broker.

In Delphi, you have direct access to the TRPCBroker component itself, and its properties and methods. In other development environments, you can only access the properties and methods of the TRPCBroker component through DLL functions. So to understand the DLL interface, you should understand how the TRPCBroker component is used in its native environment (Delphi).

The following special issues should be considered when accessing RPC Broker functionality through its DLL:

Header Files

Header files for using the DLL are provided for C (BAPI32.H), C++ (BAPI32.HPP), and Visual Basic (BAPI32.BAS).

Sample DLL Application

The VB5EGCHO sample application, distributed with the Broker Development Kit (BDK), demonstrates use of the RPC Broker 32-bit DLL from Microsoft Visual Basic. The source code is located in the ..\BDK32\Samples\Vb5Egcho directory.