Dynamsoft Panorama - API Reference
Functions
General Functions

Functions

DPS_API const char * DPS_GetErrorString (int errorCode)
 
DPS_API const char * DPS_GetVersion ()
 

Function Documentation

◆ DPS_GetErrorString()

DPS_API const char* DPS_GetErrorString ( int  errorCode)

Returns the error info string.

Parameters
[in]errorCodeThe error code.
Returns
The error message.
Code Snippet:
void* panorama = DPS_CreateInstance();
DPS_InitLicense(panorama, "t0260NwAAAHV***************");
int ret = DPS_StartPanoramaStitchingByBuffer(panorama, 1080, 1920, 3240, DPS_IPF_RGB_888);
const char* errorString = DPS_GetErrorString(ret);

◆ DPS_GetVersion()

DPS_API const char* DPS_GetVersion ( )

Returns the version info of the SDK.

Returns
The version info string.
Code Snippet:
const char* versionInfo = DPS_GetVersion();