Resource Base
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

General Methods

Method Description
DC_GetErrorString Returns the corresponding error message of the input error code.
GetVersion Returns the version info string of the SDK.

DC_GetErrorString

Returns the corresponding error message of the input error code.

const char* DC_GetErrorString(const int errorCode)

Parameters

[in] errorCode Error code.

Return Value

The error message.

Code Snippet

int errorCode = 0;
CDocumentNormalizer ddn;
CNormalizedImageResult* normalizedResult = NULL;
errorCode = ddn.Normalize("YOUR-SOURCE-FILE-PATH", "", NULL, &normalizedResult);
if (errorCode != DM_OK)
    const char* errorString = DC_GetErrorString(errorCode);
    //...do something with the errorString

GetVersion

Returns the version info string of the SDK.

static const char* dynamsoft::ddn::CDocumentNormalizer::GetVersion()

Return Value

The version information string.

Code Snippet

const char* versionInfo = CDocumentNormalizer::GetVersion();

Is this page helpful?

YesYes NoNo

In this article:

Version 2.4.10

    • version 2.4.10
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    • Version 1.x
      • Version 1.0.20
      • Version 1.0.10
      • Version 1.0.0
    Change +