PKI_CompileTime retrieves the date and time the toolkit executable was last compiled.
Public Declare Function PKI_CompileTime Lib "diCrPKI.dll"
(ByVal strCompiledOn As String, ByVal nStrLen As Long) As Long
nRet = PKI_CompileTime(strCompiledOn, nStrLen)
String to receive the date and time string.Long specifying the maximum length of the string to be copied.
long _stdcall PKI_CompileTime(char *szTimestamp, long nLen);
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 = PKI_CompileTime(strCompiledOn, Len(strCompiledOn)) strCompiledOn = Left(strCompiledOn, nLen) Debug.Print "PKI_CompileTime returns " & nLen & " [" & strCompiledOn & "]"