xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DllLoad()

Loads a DLL file into memory.

Syntax

DllLoad( <cDLLFileName> ) --> nDllHandle

Arguments

<cDLLFileName>
This is a character string holding the name of the DLL file to load into memory.

Return

The function returns a numeric DLL handle > 0. If the DLL file cannot be loaded, the return value is zero.

Description

Function DllLoad() is a synonym for function LoadLibrary(). Refer to LoadLibrary().

Info

See also:LoadLibrary()
Category: DLL functions , xHarbour extensions
Source:rtl\dllcall.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe