Hello,
I am new to this, so I am wondering how do I save binary atribute to file, for
example:
       Item := AttrListView.Items.Add;
       Item.Caption := attribute_name;
       if (a.IsBinary) then
       begin
         Item.SubItems.Add('binary attr');
         Assignfile(DataFile, 'D:\Stvari\Delphi\LDAP\file.bin');
         Rewrite(DataFile, 1);
         Write(DataFile, a[i]);
         CloseFile(DataFile);
       end
       else
         Item.SubItems.Add(a[i]);
     end;

Thank you

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to