NWDSScanConnsForTrees Example
  Home FAQ Contact Sign in
novell.devsup.general only
 
Advanced search
POPULAR GROUPS

more...

novell.devsup.general Profile…
 Up
NWDSScanConnsForTrees Example         


Author: Kevin Berry
Date: Sep 27, 2006 18:22

Does anyone have a delphi (pascal) sample for NWDSScanConnsForTrees?

Thanks in advance
1 Comment
Re: NWDSScanConnsForTrees Example         


Author: Hans Boone
Date: Sep 28, 2006 10:24

Hello Kevin,

a function that returns the trees for the connections.

function get_current_trees:TStringList;
const trs = 50;
type p = array[1..trs] of pchar;
a = array[1..trs,0..NW_MAX_TREE_NAME_BYTES] of char;
var pp : p;
tr : a;
i: integer;
cnt : nuint;
begin
result:=TStringList.create;
for i:=1 to trs do pp[i]:=@tr[i];
if NWDSScanConnsForTrees(context,trs,cnt,@pp)=0
then for i:= 1 to cnt do result.Add(string(pp[i]));
result.Sort;
end;

Hans
Show full article (0.62Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
COVER LETTERS RESUME EXAMPLES AND CV EXAMPLES AVAILABLEprg.jobs ·