ade_version

Land Desktop Development ARX CPP SDK

Up a level
ade_version
 
 

Gets the version number of the Data Extension programming interface.

struct resbuf*

ade_version();

Returns a version number (string) or NULL.

You must release the resbuf.

The following sample parses the resbuf returned by ade_version() and prints the version number. Then it releases the resbuf, as required.

struct resbuf* pVersionRb = NULL;
pVersionRb = ade_version();
if (NULL != pVersionRb) {
    acutPrintf(
        "\nThe current version is: %s", pVersionRb->resval);
}
else {
    acutPrintf(
        "\nThe version could not be determined");
}
acutRelRb(pVersionRb);