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)
long __stdcall PKI_CompileTime(char *szOutput, long nOutChars);
If successful, the return value is the number of characters in or required for the output string; otherwise it returns a negative error code.
Public Function pkiCompileTime
() As String
static std::string dipki::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. ANSI C users must add one to this value when allocating memory.
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 & "]"
Debug.Print pkiCompileTime()
Debug.Print pkiModuleInfo()
Debug.Print pkiModuleName()
Debug.Print pkiPlatform()