TMedConnection.LoadHarbourDll TMedConnection

function LoadHarbourDll( dllName: String ): Cardinal;

Description

Method allows you to load xHarbour pCode DLL file. It is required before you can call xHarbour functions contained in DLL file. Pass DLL name as method parameter. Method returns DLL handle or 0 in case of failure. Please note that only xHarbour DLL files are supported. Harbour DLL files will not execute properly because of the pCode differences.

See also: Integrating xHarbour code

Example:

hdl := cn.LoadHarbourDll('myxhbcode.dll');