:html
:Revision=1
<<
128.153
PwdDll Object|PwdDll
$NoSort
--
The IP-Object <!RW>PwdDll is used to communicate with a password DLL
>>

<<
128.153.1
Functions of the PwdDll-Object|Functions
--
>>
<<
128.153.1.1
PwdDll.IsActive|IsActive
!128.153.2.1
--
<!DEF>
function <!TW>PwdDll.IsActive : real;
<!TXT>
Returns <!RW>TRUE, if the password DLL is activated in the basic setup and was loaded without problems.
>>

<<
128.153.1.2
PwdDll.GetText|GetText
--
<!DEF>
function <!TW>PwdDll.GetText (sName; var sValue : string) : real;
<!TXT>
Tries to read a named value from the password DLL. <!PW>sName gives the name of the named value. If the named value exists in the DLL, its value will be returned in <!PW>sValue andf the result of the function call is <!RW>TRUE. If the named value doesn't exist or the DLL is not laoded at all, the function will return <!RW>FALSE.

If <!PW>sName is an empty string, the DLL will return a comma separated list of the names of all supported named values in <!RW>sValue.

Example:
<!CODE>
var
  sNames : string;
  sName : string;
  sValue : string;
step
  if PwdDll.Gettext ('', sNames) then begin
    while sNames<>'' do begin
      sName:=CutFirstToken (sNames, ',');
      if PwdDLL.GetText (sName, sValue) then begin
        Debug.Show (1, sName, '=', sValue);
      end;
    end;
  end;
end.
<!TXT>
>>

