PathEngine home previous: DLLExport_CreateIPathEnginenext: PathEngine_InitialiseAndObtainRootInterface
Contents, API Reference, Functions, DLLExport_Init

DLLExport_Init

Description

Initialise PathEngine after dll load (dll linkage).

Syntax

This function is defined internally by the PathEngine dll, as follows:
extern "C"
{
    void __stdcall DLLExport_Init(iAllocator* allocator, iErrorHandler* handler);
}

Parameters

allocator A pointer to an object PathEngine will call to allocate memory, or nullptr to indicate that the default allocator should be used. (If a custom allocator is supplied then the pointed to allocator object must remain valid until PathEngine is shut down.)
error_handler A pointer to an object PathEngine will call to handle errors. (Should not be nullptr, and the pointed to object must remain valid until PathEngine is shut down.)

Remarks

DLLExport_CreateIPathEngine can be called after loading the dll and calling this function, to obtain the root interface. (See Linking with the SDK for more information about how to load the PathEngine dll.)


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: PathEngine_InitialiseAndObtainRootInterface