Prototype and description of the function getdllversion()

(This function needs no unlocking)

 

getdllversion()
Determination of the current version number of GeoDLL.

Prototype of the DLL function in C++ syntax (attend lower case!):
extern "C" __declspec(dllimport) unsigned long __stdcall getdllversion(
     char **pszVersion);

Prototype of the DLL function in Visual Objects syntax:
_DLL function getdllversion(;
     pszVersion REF PSZ);                  // 4 Byte, char**, 15 alloc.
as logic pascal:geodll32.getdllversion     // 4 Byte

The allocation of memory for "ref psz" / "char**" is necessary only if
setstringallocate(FALSE) is called before.


The function returns the current version number of the GeoDLL as a psz
to the calling program.


The parameters are passed and/or returned as follows:
pszVersion  String with the current version number of GeoDLL.
(ref)       Note: "ref pszDllVers" corresponds to "char**" in C. 15 bytes
            of memory for the zero terminated string must be allocated with
            dependence to the call of the function setstringallocate().
            Please consider the notes in the description of the function
            setstringallocate().

returnVal   In case of an error the function returns FALSE, otherwise TRUE.


Unlocking
This function needs no unlocking.