<< Back


FVSDK_Version

Synopsis

FVSDK_ERROR_CODE FVSDK_Version(char* pszBuffer, int nBufferSize);

Description

Retrieves the version number of the FTP Voyager SDK DLL.

Parameters

pszBuffer

A pointer to a buffer that will receive the null terminated string containing the version number of the DLL. pszBuffer will be filled with the version number up to the length of (nBufferSize - 1). This function will always ensure pszBuffer is a NULL terminated string.

nBufferSize

The size of pszBuffer in bytes.

Return Value

Currently, only FVSDK_OK is returned.

Example

// buffer for getting the version number
char pszBuffer[32];

// get the version number of the FTP Voyager SDK
if (FVSDK_Version(pszBuffer, sizeof(pszBuffer)) != FVSDK_OK)
    AfxMessageBox("Unable to get the FTP Voyager SDK Version number.");