diff --git a/src/xvtdb/xvtdb.h b/src/xvtdb/xvtdb.h index fc75519e6..1eba6f1d2 100644 --- a/src/xvtdb/xvtdb.h +++ b/src/xvtdb/xvtdb.h @@ -13,6 +13,7 @@ #define NOT_INITIALIZED -86552 #define ERROR_FREEZED -883 +#define SQLAPIV "SQLAPI++ 4.1.5" // Da tenere aggiornato DBDLL enum TT_driver { diff --git a/src/xvturl/xvturl.cpp b/src/xvturl/xvturl.cpp index 616db3712..de69307f3 100644 --- a/src/xvturl/xvturl.cpp +++ b/src/xvturl/xvturl.cpp @@ -1,7 +1,10 @@ #include "xvturl.h" #include -void functionTest() +URLDLL const char* xvturl_version() { - bool tolla = true; + static char version[50]; + if(version[0] == '\0') + sprintf_s(version, "cURL %s", LIBCURL_VERSION); + return version; } \ No newline at end of file diff --git a/src/xvturl/xvturl.h b/src/xvturl/xvturl.h index b82a794ee..015f01f67 100644 --- a/src/xvturl/xvturl.h +++ b/src/xvturl/xvturl.h @@ -7,6 +7,6 @@ #include -URLDLL void functionTest(); +URLDLL const char* xvturl_version(); #endif \ No newline at end of file