RPC HELP DLL GuideLines VB Overview

From VistApedia
Revision as of 16:35, 8 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home DLL Interface Home <h2>Visual Basic: Destroy Broker Components</h2> When you are done using an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RPC Broker Help Home

DLL Interface Home

Visual Basic: Destroy Broker Components

When you are done using any TRPCBroker component, you should call its destroy method to free it from memory.

To destroy TRPCBroker components from your Visual Basic program:

1. Make sure the TRPCBroker component is not connected:

   Call RPCBPropSet(intRPCBHandle, "Connected", "0")

2. Call the RPCBFree method to destroy the object:

   RPCBFree(intRPCBHandle)

Visual Basic takes care of the details of unloading the DLL.