Difference between revisions of "RPC HELP DLL GuideLines VB Overview"

From VistApedia
Jump to: navigation, search
(Created page with " RPC Broker Help Home DLL Interface Home <h2>Visual Basic: Destroy Broker Components</h2> When you are done using an...")
 
(Blanked the page)
 
Line 1: Line 1:
[[RPC_Broker_Help| RPC Broker Help Home]]
 
  
[[RPC_HELP_Other_DLL_Interface_List|DLL Interface Home]]
 
<h2>Visual Basic: Destroy Broker Components</h2>
 
When you are done using any [[RPC_HELP_TRPCBroker|TRPCBroker]] component, you should call its destroy method to free it from [[RPC_HELP_DEBUG_Memory_Leaks|memory]].
 
 
To destroy [[RPC_HELP_TRPCBroker|TRPCBroker]] components from your Visual Basic program:
 
 
'''1.''' Make sure the [[RPC_HELP_TRPCBroker|TRPCBroker]] component is not connected:
 
    Call RPCBPropSet(intRPCBHandle, "Connected", "0")
 
 
'''2.''' Call the [[RPC_HELP_DLL_ExportFN_RPCBFree|RPCBFree]] method to destroy the object:
 
    RPCBFree(intRPCBHandle)
 
 
Visual Basic takes care of the details of unloading the DLL.
 

Latest revision as of 16:36, 8 July 2015