User Tools

Site Tools


api:dk11:delphi:gisinternals.loadlibrarywithinhinstance_string

Table of Contents

LoadLibraryWithinHinstance method

DK11 for Delphi | GisInternals.LoadLibraryWithinHinstance | Enums | Fields | Methods | Types

Loads a DLL library with searching for within a module instance path first. Calling path for COM object relates by default to a host application, not to the COM itself. As a result dynamic load libraries could never be loaded. This function will search first in HInstance path.

Syntax

// Delphi
function LoadLibraryWithinHinstance(
  const _fileName : String
) : HMODULE;
// C++ Builder
extern DELPHI_PACKAGE HMODULE* LoadLibraryWithinHinstance(
  const UnicodeString _fileName
);

Parameters

Name Type Description
_fileName String same as Windows.LoadLibrary

Result

Type Description
HMODULE Base address of DLL library.
2017/09/04 11:15