Retrieves the date and time the core library executable was last compiled.
Public Declare Function API_CompileTime Lib "diCryptoSys.dll"
(ByVal strCompiledOn As String, ByVal nStrLen As Long) As Long
nRet = API_CompileTime(strCompiledOn, nStrLen)
long __stdcall API_CompileTime(char *szOutput, long nMaxChars);
If successful, the return value is the number of characters in the output string; otherwise it returns a negative error code.
Public Function apiCompileTime
() As String
static std::string crsysapi::Gen::CompileTime ()
static Gen.compile_time()
For the "raw" VBA/C function, the user must allocate an output string buffer szOutput of the required length. Specify a zero nOutChars or an empty string for szOutput to find the required length of the output string. C/C++ users must add one to this value when allocating memory.
Dim nLen As Long
Dim strCompiledOn As String
strCompiledOn = String(255, " ")
nLen = API_CompileTime(strCompiledOn, Len(strCompiledOn))
strCompiledOn = Left(strCompiledOn, nLen)
Debug.Print "API_CompileTime returns " & nLen & " [" & strCompiledOn & "]"
Debug.Print "CompileTime=" & apiCompileTime()