Re: RE: [Harbour] six driver

2008-01-14 Thread Przemyslaw Czerpak
On Mon, 14 Jan 2008, Jorge A. Giraldo wrote: > Hi Przemek, > I don't have SIX3, but I am reading the guides in > http://www.ousob.com/ng/six3/index.php > DBFdecrypt doesn't use a parameter as you said. > As I can see I should use SetPass instead. > But at least for me this code doesn't work, > the

Re: [Harbour] six driver

2008-01-14 Thread Przemyslaw Czerpak
On Mon, 14 Jan 2008, Chen Kedem wrote: > Przemyslaw Czerpak wrote: > > sx_DBFdecrypt() does not accept password as parameter but uses > > current table password > According to source/rdd/hbsix/sxtable.c, both SX_DBFENCRYPT() > and SX_DBFDECRYPT() get one paramter which is used as the password > lat

Re: [Harbour] six driver

2008-01-14 Thread Szakáts Viktor
These are the function skeletons in original SX3 docs: Sx_DBFencrypt( [cKey] ) -> Logical Sx_DBFdecrypt() -> Logical Brgds, Viktor On 2008.01.14., at 15:45, Chen Kedem wrote: Przemyslaw Czerpak wrote: sx_DBFdecrypt() does not accept password as parameter but uses current table password Acco

RE: [Harbour] six driver

2008-01-14 Thread Jorge A. Giraldo
LIENTS > Date: Mon, 14 Jan 2008 14:49:27 +0100 > From: [EMAIL PROTECTED] > To: harbour@harbour-project.org > Subject: Re: [Harbour] six driver > > On Sun, 13 Jan 2008, Jorge A. Giraldo wrote: > > Hi All, > > The following code will encrypt a file, but will not decrypt it &

[Harbour] six driver

2008-01-14 Thread Chen Kedem
Przemyslaw Czerpak wrote: > sx_DBFdecrypt() does not accept password as parameter but uses > current table password According to source/rdd/hbsix/sxtable.c, both SX_DBFENCRYPT() and SX_DBFDECRYPT() get one paramter which is used as the password later in source/rdd/dbf1.c hb_TableCrypt() I don't h

Re: [Harbour] six driver

2008-01-14 Thread Przemyslaw Czerpak
On Sun, 13 Jan 2008, Jorge A. Giraldo wrote: > Hi All, > The following code will encrypt a file, but will not decrypt it > (Only de header as long as I can see). > When encrypted, the name becomes unreadable... Have you tested this code with Clipper and SIX3? It gives the same results. sx_DBFdecr

[Harbour] six driver

2008-01-13 Thread Jorge A. Giraldo
Hi All, The following code will encrypt a file, but will not decrypt it (Only de header as long as I can see). When encrypted, the name becomes unreadable... proc main() If !File("CLIENTS.DBF") DbCreate("CLIENTS", {{"NAME", "C", 40, 0}}) Use CLIENTS Append Blank CLIENTS->NAME := 'I