User Tools

Site Tools


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.


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


Name Type Description
_fileName String same as Windows.LoadLibrary


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