- CallerExample
short CallerExample()
Undocumented in source. Be warned that the author may not have intended to support it.
- ConvertXLRef12ToXLRef
BOOL ConvertXLRef12ToXLRef(LPXLREF12 pxref12, LPXLREF pxref)
- ConvertXLRefToXLRef12
BOOL ConvertXLRefToXLRef12(LPXLREF pxref, LPXLREF12 pxref12)
- Excel
int Excel(int xlfn, LPXLOPER pxResult, LPXLOPER[] args)
- Excel12f
int Excel12f(int xlfn, LPXLOPER12 pxResult, LPXLOPER12[] args)
- FreeXLOper
void FreeXLOper(T pxloper)
Undocumented in source. Be warned that the author may not have intended to support it.
- FreeXLOper
void FreeXLOper(T pxloper, A allocator)
Undocumented in source. Be warned that the author may not have intended to support it.
- TempActiveCell
LPXLOPER TempActiveCell(WORD rw, BYTE col)
- TempActiveCell12
LPXLOPER12 TempActiveCell12(RW rw, COL col)
- TempActiveColumn
LPXLOPER TempActiveColumn(BYTE col)
- TempActiveColumn12
LPXLOPER12 TempActiveColumn12(COL col)
- TempActiveRef
LPXLOPER TempActiveRef(WORD rwFirst, WORD rwLast, BYTE colFirst, BYTE colLast)
- TempActiveRef12
LPXLOPER12 TempActiveRef12(RW rwFirst, RW rwLast, COL colFirst, COL colLast)
- TempActiveRow
LPXLOPER TempActiveRow(WORD rw)
- TempActiveRow12
LPXLOPER12 TempActiveRow12(RW rw)
- TempBool
LPXLOPER TempBool(int b)
- TempBool12
LPXLOPER12 TempBool12(BOOL b)
- TempErr
LPXLOPER TempErr(WORD err)
- TempErr12
LPXLOPER12 TempErr12(int err)
- TempInt
LPXLOPER TempInt(short i)
- TempInt12
LPXLOPER12 TempInt12(int i)
- TempMissing
LPXLOPER TempMissing()
- TempMissing12
LPXLOPER12 TempMissing12()
- TempNum
LPXLOPER TempNum(double d)
- TempNum12
LPXLOPER12 TempNum12(double d)
- TempStr
LPXLOPER TempStr(LPSTR lpstr)
- TempStr12
LPXLOPER12[] TempStr12(wstring[] strings)
- TempStr12
LPXLOPER12 TempStr12(wstring lpstr)
Undocumented in source. Be warned that the author may not have intended to support it.
- TempStr12
LPXLOPER12 TempStr12(const(wchar*) lpstr)
Undocumented in source. Be warned that the author may not have intended to support it.
- TempStrConst
LPXLOPER TempStrConst(LPSTR lpstr)
- XLOper12ToXLOper
BOOL XLOper12ToXLOper(LPXLOPER12 pxloper12, LPXLOPER pxloper)
- XLOperToXLOper12
BOOL XLOperToXLOper12(LPXLOPER pxloper, LPXLOPER12 pxloper12)
- debugPrintf
void debugPrintf(LPSTR lpFormat, ...)
- makePascalString
wchar* makePascalString(wchar* str)
Undocumented in source. Be warned that the author may not have intended to support it.
- makePascalString
wchar* makePascalString(wstring str)
Undocumented in source. Be warned that the author may not have intended to support it.
- memcpy_s
int memcpy_s(ubyte* dst, size_t sizeInBytes, ubyte* src, size_t count)
memcpy_s - Copy source buffer to destination buffer
- wmemcpy_s
int wmemcpy_s(wchar* dst, size_t numElements, wchar* src, size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
framework.d Translated from framework.c by Laeeth Isharc
Purpose: Framework library for Microsoft Excel.
This library provides some basic functions that help in writing Excel DLLs. It includes simple functions for managing memory with XLOPER12s, creating temporary XLOPER12s, robustly calling Excel12(), and outputting debugging strings to the debugger for the current application.
The main purpose of this library is to help you to write cleaner C code for calling Excel. For example, using the framework library you can write
Excel12f(xlcDisplay, 0, 2, TempMissing12(), TempBool12(0));
instead of the more verbose
XLOPER12 xMissing, bool_; xMissing.xltype = xltypeMissing; bool_.xltype = xltypeBool; bool_.val.bool_ = 0; Excel12(xlcDisplay, 0, 2, (LPXLOPER12) &xMissing, (LPXLOPER12) &bool_);