[Harbour] Next Beta Release

2008-01-23 Thread Phil Barnett
Przemek, Are we ready to do another beta release? Thanks. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] How to detect if app release resource ?

2008-01-23 Thread wang shuming
Hi, My app not replease resource after a dialog close (windows task manger windows shows app memory used), I think it might be some resources not released, how to detect which resource not replease? Harbour + fwh801 Thanks ! Shuming Wang ___ Harbour m

RE: [Harbour] Re: *CRC32() Function

2008-01-23 Thread Mario H. Sabado
Message: 6 Date: Thu, 24 Jan 2008 01:33:34 + From: "Jorge A. Giraldo" <[EMAIL PROTECTED]> Subject: RE: [Harbour] Re: *CRC32() Function To: Harbour Project Main Developer List. Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi Mario, You can get that size a

RE: [Harbour] Re: *CRC32() Function

2008-01-23 Thread Jorge A. Giraldo
Hi Mario, You can get that size also if you do an implib -a zlib1 zlib1.dll :-) -a Add '_' alias for MS flavor cdecl functions Something I forgot... I don't know if it is supposed to work this way... Jorge A. > Date: Thu, 24 Jan 2008 07:53:37 +0800 > From: [EMAIL PROTECTED] > To: harbou

[Harbour] Re: *CRC32() Function

2008-01-23 Thread Mario H. Sabado
Hi Jorge, Przemek, I was able to compile the myzip.prg after using the zlib1.dll sent to me by Jorge. As usual, Przemek is right when pointing out that something is wrong with my zlib1(.lib) binaries. I'm just curious about the file size difference of the zlib1.lib generated by Jorge. We have

RE: [Harbour] *CRC32() Function

2008-01-23 Thread Jorge A. Giraldo
Done, Please, let me know if it works... Jorge A. Date: Thu, 24 Jan 2008 06:14:48 +0800 From: [EMAIL PROTECTED] To: harbour@harbour-project.org Subject: Re: [Harbour] *CRC32() Function -- Message: 2 Date: Wed, 23 Jan 2008 10:48:20 +0100 From: Przemysla

Re: [Harbour] *CRC32() Function

2008-01-23 Thread Mario H. Sabado
-- Message: 2 Date: Wed, 23 Jan 2008 10:48:20 +0100 From: Przemyslaw Czerpak <[EMAIL PROTECTED]> Subject: Re: [Harbour] *CRC32() Function To: "Harbour Project Main Developer List." Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-2

Re: [Harbour] Licence question

2008-01-23 Thread Pritpal Bedi
Alexander Alexander S.Kresin wrote: > > The project I'm working on is a db server with appropriate rdd as a > substitution for ADS. ADS is a perfect product, but it isn't free and it > is quite expensive. Besides, writing such a server specially for > Harbour will help to avoid some prob

Re: [Harbour] Are detached locals safe?

2008-01-23 Thread Randy Portnoff
Very cool! Thanks! :-) At 11:47 AM 1/23/2008, you wrote: On Wed, 23 Jan 2008, Randy Portnoff wrote: > Consider the following example: > func main() > local bTest := GetBlock() > ? Eval( bTest ) // Prints "Hello!" from local var in GetBlock() > return nil > > func GetBlock() > local cSomeVar :=

Re: [Harbour] /w3 memory leaks

2008-01-23 Thread Przemyslaw Czerpak
On Wed, 23 Jan 2008, Mindaugas Kavaliauskas wrote: > I've just migrated from xHarbour to Harbour in majority of projects. I > remember xHarbour /w3 warnings was completely wrong, but now I've tried > /w3 on Harbour. It works much better - no wrong warnings. It helped to > find one error in code:

Re: [Harbour] Are detached locals safe?

2008-01-23 Thread Przemyslaw Czerpak
On Wed, 23 Jan 2008, Randy Portnoff wrote: > Consider the following example: > func main() > local bTest := GetBlock() > ? Eval( bTest ) // Prints "Hello!" from local var in GetBlock() > return nil > > func GetBlock() > local cSomeVar := "Hello!" > return { || cSomeVar } > > Is this safe? Yes i

Re: [Harbour] /w3 memory leaks

2008-01-23 Thread Mindaugas Kavaliauskas
Przemyslaw Czerpak wrote: On Wed, 23 Jan 2008, Mindaugas Kavaliauskas wrote: Hi, if I compile using /w3 switch I get a lot of unreleased memory blocks. Is this a known issue? Yes, it's known. Strong typing code have been never working correctly. If we want strong typing and we agree the synta

Re: [Harbour] /w3 memory leaks

2008-01-23 Thread Przemyslaw Czerpak
On Wed, 23 Jan 2008, Mindaugas Kavaliauskas wrote: > Hi, > if I compile using /w3 switch I get a lot of unreleased memory blocks. > Is this a known issue? Yes, it's known. Strong typing code have been never working correctly. If we want strong typing and we agree the syntax then new code will hav

[Harbour] Are detached locals safe?

2008-01-23 Thread Randy Portnoff
Hi all, Consider the following example: func main() local bTest := GetBlock() ? Eval( bTest ) // Prints "Hello!" from local var in GetBlock() return nil func GetBlock() local cSomeVar := "Hello!" return { || cSomeVar } Is this safe? Will the garbage collector eventually clean this string? TI

[Harbour] RE: Harbour Digest, Vol 15, Issue 45

2008-01-23 Thread Horodyski Marek (PZUZ)
>Date: Wed, 23 Jan 2008 15:00:05 +0300 >From: "Alexander S.Kresin" <[EMAIL PROTECTED]> >Subject: [Harbour] Re: Licence question [ ... ] > > The project I'm working on is a db server with appropriate rdd as a >substitution for ADS. ADS is a perfect product, but it isn't >free and it [ ... ]

[Harbour] /w3 memory leaks

2008-01-23 Thread Mindaugas Kavaliauskas
Hi, if I compile using /w3 switch I get a lot of unreleased memory blocks. Is this a known issue? Best regards, Mindaugas ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: Licence question

2008-01-23 Thread Przemyslaw Czerpak
On Wed, 23 Jan 2008, Alexander S.Kresin wrote: > I'd prefer to not duplicate hbinet.c and make all necessary > modifications there, too. But I don't sure that all my changes will be > suitable for others. > I've made already all what I need now. > First of all - C level API. Appropriate functi

Re: [Harbour] Re: Licence question

2008-01-23 Thread Szakáts Viktor
Hi Alexander, Your project looks very good. As for duplicating Harbour stuff in another project I'd also vote to rather extend the Harbour C level inet interface to something usable for more generic usage (like yours). I can't comment on the specific problems though, but you can most probably dis

Re: [Harbour] Licence question

2008-01-23 Thread Phil Barnett
On Wednesday 23 January 2008 02:28:54 am Alexander S.Kresin wrote: > Phil Barnett пишет: > > You cannot remove their copyright from the files. > > Just to be clear: I don't want to infringe their interests in any way :). > If I include those files with my modifications in a new project - then

Re: [Harbour] Experiences with sqlite?

2008-01-23 Thread Maurilio Longo
Petr, we (I at least :)) probably don't need binding at all! I was forgetting macro substitution, we can write something like: local cSeq private cKey := "part_name" private cKeyValue := "tailpipe" text into cSeq select * from car_parts where &cKey = "&cKeyValue" endtext

Re: [Harbour] Re: Licence question

2008-01-23 Thread Maurilio Longo
Alexander, very interesting! Is your server using .dbf/.cdx files? Very interesting :) Maurilio. "Alexander S.Kresin" ha scritto: > > > If you will duplicate HBINET cod in other project then such extension > > will not work for you so I strongly suggest to invest time in updating > > Harbour

[Harbour] Re: Licence question

2008-01-23 Thread Alexander S.Kresin
If you will duplicate HBINET cod in other project then such extension will not work for you so I strongly suggest to invest time in updating Harbour API. If you present what you exactly need then I can help in this job. I'd prefer to not duplicate hbinet.c and make all necessary modifications

Re: [Harbour] Licence question

2008-01-23 Thread Przemyslaw Czerpak
On Wed, 23 Jan 2008, Alexander S.Kresin wrote: > Just to be clear: I don't want to infringe their interests in any way :). > If I include those files with my modifications in a new project - then > the answer is clear - as yours. > But I want to use parts of that code in other files. So simply

Re: [Harbour] *CRC32() Function

2008-01-23 Thread Przemyslaw Czerpak
On Wed, 23 Jan 2008, Mario H. Sabado wrote: > Without including the xhb.lib, i got the following error: > Any suggestion? > > Error: Unresolved external '_deflateInit2_' referenced from > D:\HARBOUR\B32\LIB\HBZLIB.LIB|zip > Error: Unresolved external '_get_crc_table' referenced from > D:\HARBOUR