Share

AcRxDynamicLinker::getSymbolAddress

C++

virtual void* getSymbolAddress(
    const ACHAR * serviceName, 
    const ACHAR * symbol
) const = 0;

Description

This function provides the means to get a pointer to the exported symbol symbol in the ObjectARX application represented by the registered service name serviceName.

The symbol represented by symbol must be exported, on Windows platforms this can be done via an addition to the exports section of the DEF file.

serviceName must be the name of a service registered via the AcRxDynamicLinker::registerService() method.

The returned void* must be explicitly cast to whatever the symbol actually is (typically a function).

On Windows platforms, this function is essentially the same as a call to GetProcAddress().

Parameters

Parameters Description
serviceName Input null-terminated text string that is the name of the service being sought
symbol Input null-terminated string that is the symbol name desired

Links

AcRxDynamicLinker

Was this information helpful?