xlGetName

Use this function to find the full path and file name of the DLL in the form of a string.

Returns the path and file name (xltypeStr).

Syntax

Excel4(xlGetName, LPXLOPER pxRes, 0);

This function has no arguments.

Example

\SAMPLES\EXAMPLE\EXAMPLE.C

short WINAPI xlGetNameExample(void)
{
    XLOPER xRes;

    Excel4(xlGetName, (LPXLOPER)&xRes, 0);
    Excel4(xlcAlert, 0, 1, (LPXLOPER)&xRes);
    Excel4(xlFree, 0, 1, (LPXLOPER)&xRes);
    return 1;
}