CryptoSys API Library Manual

API_CompileTime

Retrieves the date and time the core library executable was last compiled.

VB6/VBA Syntax

Public Declare Function API_CompileTime Lib "diCryptoSys.dll" (ByVal strCompiledOn As String, ByVal nStrLen As Long) As Long

nRet = API_CompileTime(strCompiledOn, nStrLen)

Parameters

strCompiledOn
[out] String to receive the date and time string.
nStrLen
[in] Long specifying the maximum number of characters to be received.

C/C++ Syntax

long _stdcall API_CompileTime(char *szOutput, long nMaxChars);

Returns (VB6/C)

Long: If successful, the return value is the number of characters in the output string; otherwise it returns a negative error code.

.NET Equivalent

General.CompileTime Method

Remarks

Example

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 & "]"

See Also

API_Version

[Contents] [Index]

[HOME]   [NEXT: API_ErrorCode...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.