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)
String to receive the date and time string.Long specifying the maximum number of characters to be received.
long _stdcall API_CompileTime(char *szOutput, long nMaxChars);
Long: If successful, the return value is the number of characters in the output string;
otherwise it returns a negative error code.
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 & "]"