Re: [Harbour] HGetValueAt() Bound Error

2008-09-13 Thread Przemysław Czerpak
On Sat, 13 Sep 2008, Mario H. Sabado wrote: Hi Mario, > I encountered problem with function HGetValueAt() from latest SVN with the > following error: > Error BASE/1187 Bound Error: HB_HVALUEAT > Thanks for any help. You have to fix your code. You are using index which is aout of scope, f.e.:

Re: [Harbour] do {} while( 0 ) vs. {}

2008-09-13 Thread Przemysław Czerpak
On Sat, 13 Sep 2008, Szak?ts Viktor wrote: Hi Viktor, > What is the reason we're using 'do { } while( 0 )' > to enclose large macro blocks, instead of using plain '{ }' ? > F.e. HB_ORD2DBL() in hbdefs.h. macros encapsulated inside do {...} while(0) can be safely used in any context. F.e.try to

Re: [SPAM] Re: [Harbour] ChangeLog 2008-09-13 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-13 Thread Przemysław Czerpak
On Sat, 13 Sep 2008, Pritpal Bedi wrote: > Przemek > I get this error: > obj\b32\hbrun.c: > Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland > Error: Unresolved external '__beginthreadex' referenced from > C:\HARBOUR\LIB\B32

Re: [SPAM] Re: [Harbour] [SPAM] Re: ChangeLog 2008-09-13 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-13 Thread Przemysław Czerpak
On Sat, 13 Sep 2008, Pritpal Bedi wrote: Hi Pritpal, > Here is the sequence I adopted: > 1) Download afresh from SVN > 2) Opened console in c:\harbour > 3) Issued: SET CLIBFLAGS=-DHB_WIN32_IO -DHB_FM_WIN32_ALLOC -DHB_MT_VM > 4) Issued: SET L_USR=cw32mt.lib If you are using make_b32.bat then you

Re: [Harbour] Memory buffer overflow

2008-09-14 Thread Przemysław Czerpak
On Sun, 14 Sep 2008, Szak?ts Viktor wrote: Hi Viktor, > Can easily be that I'm doing something wrong, but I'm getting this: > --- > C:\harbour\bin>mttest07.exe > Harbour 1.1.0dev Intl. (Rev. 9387) > Main start > Starting threads: <1><2><3><4><5> > Sending jobs... > Unrecoverable error 9022: Memor

Re: [Harbour] 2008-09-14 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-14 Thread Przemysław Czerpak
On Sun, 14 Sep 2008, Szak?ts Viktor wrote: Hi Viktor, > 2008-09-14 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) > * source/common/hbverdsp.c > + Showing MT status on //BUILD screen. I'm not sure it's good idea. It will not show any valid information. Only HVM have to be compiled wi

Re: [Harbour] [SPAM] Re: [SPAM] Re: [SPAM] Re: ChangeLog 2008-09-13 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-14 Thread Przemysław Czerpak
On Sun, 14 Sep 2008, Francesco Saverio Giudice wrote: Hi Francesco, > thank you, I got same error here on hbrun. > Another error is in tests\mt\* samples. > They built correctly, but running them hb_threadStart() returns NIL It's default behavior for single thread HVM. hb_threadStart() always re

Re: [Harbour] 2008-09-14 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-14 Thread Przemysław Czerpak
On Sun, 14 Sep 2008, Szak?ts Viktor wrote: Hi Viktor, > You're right. Is there a way to detect HVM MT-ness > on the C level with function call f.e.? hb_vmIsMt() but it exists only in HVM so you cannot use it in compiler only code. > If not, or it's not right either, I may just remove this. > An