Encrypting files in a windows environment using FPC lazarus / 3-General ---------------------------------------------------------------------- netcoil · 2009-05-27 18:10 Please can anyone tell me what Classes/Package or windows Api calls is best for encrypting files using FPC in a windows environment. Thanks. ---------------------------------------------------------------------- Nicola Gorlandi · 2009-05-30 05:55 You can try with DCPcrypt, I don't know if this set has a direct file encryption, but you can stream the file, encrpyt and then rewrite the stream crypted... See http://www.cityinthesky.co.uk/cryptography.html for details ---------------------------------------------------------------------- netcoil · 2009-05-30 10:59 Thanks nicolagorlandi, Am trying out the units, when i tried building a solution based on the units, it gives me an error of \\DCPbase64.pas(81,9) Error: Identifier not found "Result" Should i declare the Result Identifier? , i believe the Unit should be complete without errors when compiled, Please any help on this? Thanks. ---------------------------------------------------------------------- Leledumbo · 2009-06-01 03:03 I believe the unit should be compiled either in ObjFPC or Delphi mode.