Prototype and description of the function setlanguage()

(This function needs no unlocking)

 

setlanguage()
Setting of a language (English or German) for GeoDLL text output.

Prototype of the DLL function in C++ syntax (attend lower case!):
extern "C" __declspec(dllimport) unsigned long __stdcall setlanguage(
     unsigned short wLanguage);

Prototype of the DLL function in Visual Objects syntax:
_DLL function setlanguage(;
     wLanguage as word);                   // 2 Byte
as logic pascal:geodll32.setlanguage       // 4 Byte


The function sets the language for all texts, which are returned by
functions of the GeoDLL.


The parameters are passed and/or returned as follows:
wLanguage   Language for text returns.
            1: German
               (default)
            2: English

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


Unlocking:
This function needs no unlocking.