[Harbour] 2008-07-08 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-08 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbodbc/odbc.c ! Fixed compilation error with Pelles C 5.00.1. * Some formatting. * contrib/hbw32/dllcall.c + Two TOFIXes added for Win64 support. ! One Warning fixed under Win64. * contrib/hbfim

[Harbour] 2008-07-08 07:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-08 07:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbodbc/odbc.c ! Fixed all ODBC handles to be pointers. This way it's Win64 compatible. This is an INCOMPATIBLE change. Since normal app code is using ODBC error values to check for error condit

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Javier
Sorry Przemek, I could not have read your changelog until after my post. Tomorrow I see but... good work!. Thank you. Best regards, Xavi Javier escribió: Przemek, IMHO: Yes, I think that it is better don't force the parameters to string and more thinking of the HRB's power. I also think that

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Javier
Przemek, IMHO: Yes, I think that it is better don't force the parameters to string and more thinking of the HRB's power. I also think that it is very good solution pHrb in collectible pointer: very sure and avoid possibles memory leaks. The only thing I dislike is having the new pHrbBodyGC of _

[Harbour] 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-07 Thread Przemyslaw Czerpak
2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c + added support for passing non string parameters to .HRB INIT/ procedures/function + added automatic destructors for .HRB modules ; TOFIX: add protection against possible double e

[Harbour] 2008-07-08 00:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-07 Thread Przemyslaw Czerpak
2008-07-08 00:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * disabled internal pointer handles I enabled by mistake for MS-WIN builds best regards Przemek ___ Harbour mailing list Harbour@harbour-project.

[Harbour] 2008-07-08 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-07 Thread Przemyslaw Czerpak
2008-07-08 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/include/hbdefs.h * harbour/source/rtl/console.c * harbour/source/rtl/philes.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/philes53.c * h

[Harbour] 2008-07-07 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu) [2]

2008-07-07 Thread Szakáts Viktor
Missed this change from the ChangeLog: 2008-07-07 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu) ... * source/rtl/hbffind.c ! Added workaround for PellesC 5.00.1 compiler bug (hang -> out of memory) when compiling a certain expression. ... -- Brgds, Viktor __

[Harbour] 2008-07-08 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-08 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/compiler/genhrb.c * contrib/hbtip/utils.c ! Changed octal values in strings (and chars too) to make these functions work with Pelles C 5.00.1. -- Brgds, Viktor __

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Szakáts Viktor
Hi Viktor, IMO, it is a bug in Clipper - It should throw a runtime error - IOW, the app thinks it wrote data but the data was never written (ie. was lost) and therefore, that's a bug! I see no practical reason why someone would want to do this AND I can see that a developer would want to

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Randy Portnoff
Hi Przemek, Ok, but I disagree with this one - IMO, it is a bug in Clipper which should not be Harbour. Regards, Randy. At 05:33 PM 7/7/2008, you wrote: On Mon, 07 Jul 2008, Randy Portnoff wrote: > Hi Przemek, > I don't think you understand what I mean... > In Clipper, if you attempt to upd

[Harbour] Harbour Online Help # 5

2008-07-07 Thread Pritpal Bedi
Hello All Please visit: http://www.vouch.info/harbour and click on any function. It will exapand to show you the source of that function. Click again and it is collapsed. Please be patient if page loading time is more as every source folder is documented in one file. Still work-in-progress.

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Randy Portnoff wrote: > Hi Przemek, > I don't think you understand what I mean... > In Clipper, if you attempt to update a record when at EOF (ie. by > mistake), it does NOT cause a runtime error (which is bad!). Yes, it is. > Harbour, > on the other hand, does generate a r

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Randy Portnoff
Hi Viktor, IMO, it is a bug in Clipper - It should throw a runtime error - IOW, the app thinks it wrote data but the data was never written (ie. was lost) and therefore, that's a bug! I see no practical reason why someone would want to do this AND I can see that a developer would want to kno

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Szakáts Viktor
Hi Randy and all, I'd vote to make Harbour Clipper compatible, unless we have a strong reason against this practice (like the behaviour in Clipper is inconsistent or erroneous). Brgds, Viktor On 2008.07.07., at 21:02, Randy Portnoff wrote: Hi all, When at EOF() and attempt to replace a field

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Randy Portnoff
Hi Przemek, I don't think you understand what I mean... In Clipper, if you attempt to update a record when at EOF (ie. by mistake), it does NOT cause a runtime error (which is bad!). Harbour, on the other hand, does generate a runtime error (which is good!). However, what I am saying is that

Re: R: [Harbour] PellesC 5.00.1 and hbdot problem.

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Szakáts Viktor wrote: > Hi Przemek, > Exactly the same as with Pelles C 4.50. > Which is in turn exactly the same as BCC55. Then it's probably caused by this conversion: ../../genhrb.c(88): warning #2223: Unable to convert character '\u00c0' to codepage 1250; using default.

Re: [Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Randy Portnoff wrote: Hi Randy, > When at EOF() and attempt to replace a field, get runtime error as > "Variable does not exist" - This is better than Clipper which does > not throw an error at all, but I think a more meaningful error > message should be used like: "Attemp

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Javier wrote: Hi Javier, > If I have understood well I agree with best solution is automatic > destructors for pHrb type pointer and them automatic call hb_hrbUnLoad() > when release, in other words, do you plan to convert pHrb in collectible > pointer? > pHrb := __hrbLoad

[Harbour] "Variable does not exist" when at EOF()

2008-07-07 Thread Randy Portnoff
Hi all, When at EOF() and attempt to replace a field, get runtime error as "Variable does not exist" - This is better than Clipper which does not throw an error at all, but I think a more meaningful error message should be used like: "Attempt to update record while at EOF". Regards, Randy.

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Javier
Hi Przemek, If I have understood well I agree with best solution is automatic destructors for pHrb type pointer and them automatic call hb_hrbUnLoad() when release, in other words, do you plan to convert pHrb in collectible pointer? pHrb := __hrbLoad( cHrb ) // pHrb it's the unique instan

Re: [Harbour] 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
Hi Przemek, 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/arrayshb.c * contrib/xhb/xhbfunc.c ! Moved hb_ArrayID() Harbour level function to xhb.lib. ; NOTE: This function is not compatible with x64 architecture. It can be updated for WIN64 (please re

[Harbour] 2008-07-07 20:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-07 20:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/xhb/xhbfunc.c ! Changed hb_ArrayID() to be in sync with xhb, and at the same time fixing the Win64 compatibility issue. Thanks Przemek. * ChangeLog ! Typo. -- Brgds, Viktor ___

Re: [Harbour] 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Szakáts Viktor wrote: Hi Viktor, > 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) >* source/vm/arrayshb.c >* contrib/xhb/xhbfunc.c > ! Moved hb_ArrayID() Harbour level function to xhb.lib. > ; NOTE: This function is not compatible with x64 a

[Harbour] 2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-07 19:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/arrayshb.c * contrib/xhb/xhbfunc.c ! Moved hb_ArrayID() Harbour level function to xhb.lib. ; NOTE: This function is not compatible with x64 architecture. -- Brgds, Viktor ___

Re: [Harbour] hb_ArrayID() problem

2008-07-07 Thread Szakáts Viktor
Hi Przemek, I'd like to propose to either rename hb_ArrayID() function to __ArrayID() and/or move it to contrib/xhb. This is pretty much alien for a language, and it doesn't work reliably in 64bit. (and cannot even be fixed without breaking compatibility) If you are talking about .prg functi

[Harbour] ChangeLog: 2008-07-07 19:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)

2008-07-07 Thread Marek Paliwoda
2008-07-07 19:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_xmingwce.mak * Changed the way HB_COMP_PATH, HB_PPGEN_PATH, CCPATH and CCPREFIX environment variables are handled -- Marek Paliwoda mpaliwoda at interia pl ---

Re: [Harbour] hb_ArrayID() problem

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Szakáts Viktor wrote: Hi Viktor, > I'd like to propose to either rename hb_ArrayID() function > to __ArrayID() and/or move it to contrib/xhb. > This is pretty much alien for a language, and it doesn't work > reliably in 64bit. (and cannot even be fixed without breaking > comp

[Harbour] PellesC 5 warnings/errors

2008-07-07 Thread Szakáts Viktor
../../atnum.c(254): fatal error: Internal error: reduce_tree(). ../../odbc.c(402): error #2140: Type error in argument 4 to 'SQLExtendedFetch'; found 'unsigned long long int *', expected 'unsigned long int *'. ../../genhrb.c(88): warning #2223: Unable to convert character '\u00c0' to codepag

[Harbour] 2008-07-07 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-07 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/vm/extrap.c ! Warning fixed. * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg ! sqlListF() return value changed to pointer from numeric. Now compatible with Win64. INCOMPATIBLE. * co

[Harbour] hb_ArrayID() problem

2008-07-07 Thread Szakáts Viktor
Hi all, I'd like to propose to either rename hb_ArrayID() function to __ArrayID() and/or move it to contrib/xhb. This is pretty much alien for a language, and it doesn't work reliably in 64bit. (and cannot even be fixed without breaking compatibility) Opinions? Brgds, Viktor _

Re: R: [Harbour] PellesC 5.00.1 and hbdot problem.

2008-07-07 Thread Szakáts Viktor
Hi Przemek, Exactly the same as with Pelles C 4.50. Which is in turn exactly the same as BCC55. Brgds, Viktor On 2008.07.07., at 17:03, Przemyslaw Czerpak wrote: On Mon, 07 Jul 2008, Szakáts Viktor wrote: Hi Viktor, Yes. And what are the results? The same as in other builds? best regard

Re: R: [Harbour] PellesC 5.00.1 and hbdot problem.

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Szakáts Viktor wrote: Hi Viktor, > Yes. And what are the results? The same as in other builds? best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Class creation broken in RC2 (RESOLVED?)

2008-07-07 Thread Randy Portnoff
Yes, I am using the /u switch. At 08:09 PM 7/4/2008, you wrote: Hi Randy, Okay, thanks I'll fix this. You seem to be using /u switch with Harbour, which got broken lately in this respect. Brgds, Viktor On 2008.07.04., at 22:37, Randy Portnoff wrote: I seems I now have to define __HARBOUR__

Re: R: [Harbour] PellesC 5.00.1 and hbdot problem.

2008-07-07 Thread Szakáts Viktor
Yes. On 2008.07.07., at 15:26, Massimo Belgrano wrote: Hbtest work fine? -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Per conto di Szakáts Viktor Inviato: lunedì 7 luglio 2008 14.25 A: Harbour Project Main Developer List. Oggetto: [Harbour] PellesC 5.00.1 a

R: [Harbour] PellesC 5.00.1 and hbdot problem.

2008-07-07 Thread Massimo Belgrano
Hbtest work fine? -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Szakáts Viktor Inviato: lunedì 7 luglio 2008 14.25 A: Harbour Project Main Developer List. Oggetto: [Harbour] PellesC 5.00.1 and hbdot problem. Hi all, After a seemingly successful build

[Harbour] PellesC 5.00.1 and hbdot problem.

2008-07-07 Thread Szakáts Viktor
Hi all, After a seemingly successful build (with latest revision), with only a few warnings here and there, I'm getting the attached screen if '? version()' is keyed into hbdot.exe. What could be the problem? Brgds, Viktor <> ___ Harbour mailing li

R: Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Massimo Belgrano
I positive vote also - Messaggio originale - Da: Szakáts Viktor <[EMAIL PROTECTED]> Inviato: lunedi 7 luglio 2008 14.03 A: Harbour Project Main Developer List. Oggetto: Re: [Harbour] Change in runner.c __HRBLOAD() >> The problem is that __hrbLoad() return the pointer of hrb in the >> s

[Harbour] 2008-07-07 13:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-07 Thread Szakáts Viktor
2008-07-07 13:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/hbffind.c ! Added workaround for PellesC 5.00.1 hang bug. * config/w32/pocc.cf % Removed unnecessary '-I' switches. ! Removed ws2.lib from liblist to make it link with PellesC 5.00.1 (where th

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Szakáts Viktor
The problem is that __hrbLoad() return the pointer of hrb in the stack return not in the stack parameter frame.- As you can see above it's not a problem but it forces that user have to create additional hack. Storing pointers in parameters is also such hack though done in different way inside

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Przemyslaw Czerpak
On Sun, 06 Jul 2008, Javier wrote: Hi Javier, > Sorry for my wrong explanation, my problem is that I costs less program it > that write this post. :'( > Please, see my Test() function if there is error in the init functions of > hrb, __hrbLoad() returns a wrong pointer (normally nil) disabling

[Harbour] Re: Skrypt do natychmiastowego puszcz enia na bazie zewnętrznej - eserwis

2008-07-07 Thread Marek Paliwoda
Sorry guys, Sent by mistake ... -- Marek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Skrypt do natychmiastowego puszczenia n a bazie zewnętrznej - eserwis

2008-07-07 Thread Marek Paliwoda
W załączeniu ... -- Marek Paliwoda [EMAIL PROTECTED] --** --** --** if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[

[Harbour] 2008-07-07 12:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-07 Thread Przemyslaw Czerpak
2008-07-07 12:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c ! fixed bud with wrong C code generated for doubly negated integer values reported by Viktor. best regards Przemek ___ Harbour mailing lis

Re: [Harbour] make_xmingwce.sh and WinCE problems

2008-07-07 Thread Przemyslaw Czerpak
On Mon, 07 Jul 2008, Marek Paliwoda wrote: Hi Marek, > I attempted to compile Harbour for WinCE platform using > make_xmingwce.sh script and cegcc 0.51. I got following > errors : > ../../hbwince.c:652: error: 'LPVOID' redeclared as different kind of symbol > /opt/mingw32ce/lib/gcc/arm-wince-mi

Re: [Harbour] Errore irrecuperabile 9024

2008-07-07 Thread Paolo Russignan
Hello Petr, I apologize for the delay in my reply. But I can not send the prg to control. There are nearly 2000-line program and then the programme integrates into a project more complex. Looking at the programme I noticed that the PDF creation, with the pdfcreator takes place using the li

[Harbour] make_xmingwce.sh and WinCE problems

2008-07-07 Thread Marek Paliwoda
Hi all (esp. Przemek), I attempted to compile Harbour for WinCE platform using make_xmingwce.sh script and cegcc 0.51. I got following errors : ../../hbwince.c:652: error: 'LPVOID' redeclared as different kind of symbol /opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-min