Re: [Harbour] Encrypt DBF tables

2008-03-31 Thread Maurilio Longo
Przemyslaw Czerpak wrote: > BTW do you need to encrypt also memo files or table will be enough? > Przemyslaw, I think encryption of indexes (even loosing compatibility) should be done, otherwise encrypted data can be seen inside them. Best regars. Maurilio. -- __ | | | |__| Mauril

[Harbour] Accessing big text files with very long lines

2008-03-31 Thread Guy Roussin
Hi, I create a little class to access big text files with very long lines. So, after parsing the file, i can get very quickly a line in the text file. Now, i want to fclose() the text file when the object is destroyed. How can i do this with harbour ? -- Guy Roussin #!/usr/bin/hbrun #include "h

[Harbour] Important question about sockets

2008-03-31 Thread Miguel Angel Marchuet
compiler uses hardcoded #define HB_SENDRECV_BUFFER_SIZE 1400 instead of use getsockopt (Windows Sockets) to retrieve the value of socket option SO_MAX_MSG_SIZE It makes very slow some transactions, for example FTP, Leto RDD, etc. Any body knows why we are using hard

Re: [Harbour] Accessing big text files with very long lines

2008-03-31 Thread Alex Strickland
Guy Roussin wrote: Now, i want to fclose() the text file when the object is destroyed. How can i do this with harbour ? I do not think there are destructors in Harbour, call an exit/close method. They do exist in xHarbour. Regards Alex ___ Harbou

Re: [Harbour] Accessing big text files with very long lines

2008-03-31 Thread Przemyslaw Czerpak
On Mon, 31 Mar 2008, Alex Strickland wrote: > >Now, i want to fclose() the text file when the object is destroyed. > >How can i do this with harbour ? > I do not think there are destructors in Harbour, call an exit/close > method. > They do exist in xHarbour. You are wrong. Only Harbour have full

Re: [Harbour] What about the release?

2008-03-31 Thread Przemyslaw Czerpak
On Thu, 27 Mar 2008, Przemyslaw Czerpak wrote: > > Can someone work on the what's new? Just a recap of the big things would be > > great. > I'll try in this weekend. Phil, I'm really sorry but it will have to wait for next weekend :-( I have too much of other jobs to work on it. best regards, Pr

Re: [Harbour] Encrypt DBF tables

2008-03-31 Thread Przemyslaw Czerpak
On Mon, 31 Mar 2008, Maurilio Longo wrote: > I think encryption of indexes (even loosing compatibility) should be done, > otherwise encrypted data can be seen inside them. Yes, just like memo encryption should be done in different way then in SIX3. When I'll find time for it I'll add such encrypti

Re: [Harbour] What about the release?

2008-03-31 Thread Phil Barnett
On Monday 31 March 2008 08:09:18 am Przemyslaw Czerpak wrote: > On Thu, 27 Mar 2008, Przemyslaw Czerpak wrote: > > > Can someone work on the what's new? Just a recap of the big things > > > would be great. > > > > I'll try in this weekend. > > Phil, I'm really sorry but it will have to wait for nex

Re: [Harbour] Fwd: Encrypt DBF tables

2008-03-31 Thread Przemyslaw Czerpak
On Thu, 27 Mar 2008, Carlos Viola wrote: > I do not need to encrypt memo fields. Encrypting only the table would be > enough. So for your own use you can hack current dbf1.c code and disable protection code. You will have to change: line 640: fEncrypt ? !pArea->fTableEncrypted && !pArea->

[Harbour] FW: Encrypt DBF data

2008-03-31 Thread Carlos Viola
Thank you very much Przemek. This works great for me now !! It solved my problem. Thank you again. Best regards, Carlos. >So for your own use you can hack current dbf1.c code and disable protection >code. You will have to change: >line 640: > fEncrypt ? !pArea->fTableEncrypted && !pAr

Re: [Harbour] Accessing big text files with very long lines

2008-03-31 Thread Guy Roussin
Przemyslaw Czerpak a écrit : On Mon, 31 Mar 2008, Alex Strickland wrote: Now, i want to fclose() the text file when the object is destroyed. How can i do this with harbour ? I do not think there are destructors in Harbour, call an exit/close method. They do exist in xHarbour. You are wrong.

Re: [Harbour] Accessing big text files with very long lines

2008-03-31 Thread Przemyslaw Czerpak
On Mon, 31 Mar 2008, Guy Roussin wrote: > >You are wrong. Only Harbour have fully working destructors and > >xHarbour doesn't. The xHarbour implementation is too buggy for > >serious usage. > >Please read docs/destruct.txt and try test code in destruct.prg. > Fine thank you, i only need to add thi