TempStrConst

TempStrConst()

Purpose: Creates a temporary string XLOPER from a const string with a local copy in temp memory

version(Windows)
TempStrConst
(
Flag!"autoFree" autoFree = Yes.autoFree
)
(
const LPSTR lpstr
)

Return Value

Type: LPXLOPER

LPXLOPER The temporary XLOPER, or 0 if GetTempMemory() failed.

Comments:

Will take a string of the form "abc\0" and make a temp XLOPER of the form "\003abc"

Meta