xlld.sdk.xll

Code from generic.h and generic.d Ported to the D Programming Language by Laeeth Isharc (2015) This module provides the ceremony that must be done for every XLL. At least one module must be linked to this one implementing the getWorkSheetFunctions function so that they can be registered with Excel.

Members

Aliases

AutoCloseFunc
alias AutoCloseFunc = void delegate() nothrow
Undocumented in source.

Functions

DllMain
BOOL DllMain(HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
Undocumented in source. Be warned that the author may not have intended to support it.
OutputDebugStringW
void OutputDebugStringW(wchar* fmt)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
callRegisteredAutoCloseFuncs
void callRegisteredAutoCloseFuncs()
Undocumented in source. Be warned that the author may not have intended to support it.
getWorksheetFunctions
WorksheetFunction[] getWorksheetFunctions()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
log
void log(A args)

Polymorphic logging function. Prints to the console when unit testing and on Linux, otherwise uses the system logger on Windows.

registerAutoCloseFunc
void registerAutoCloseFunc(AutoCloseFunc func)

Registers a delegate to be called when the XLL is unloaded

registerAutoCloseFunc
void registerAutoCloseFunc(void function() nothrow func)

Registers a function to be called when the XLL is unloaded

xlAddInManagerInfo12
LPXLOPER12 xlAddInManagerInfo12(LPXLOPER12 xAction)
Undocumented in source. Be warned that the author may not have intended to support it.
xlAutoClose
int xlAutoClose()
Undocumented in source. Be warned that the author may not have intended to support it.
xlAutoFree12
int xlAutoFree12(LPXLOPER12 arg)
Undocumented in source. Be warned that the author may not have intended to support it.
xlAutoOpen
int xlAutoOpen()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

dllMain
enum dllMain;
Undocumented in source.
dllMain
enum dllMain;
Undocumented in source.
dllMain
enum dllMain;
Undocumented in source.
dllMain
enum dllMain;
Undocumented in source.

Meta