RE: [Harbour] Still having errors building libs for Wince - Evc4

2008-09-29 Thread José Luis Capel
Viktor, Thanks for your answer. JLC>These are not needed: JLC>> SET HB_ARCHITECTURE=w32 JLC>> SET HB_GT_DEFAULT=gui JLC> JLC>Instead of this: JLC>> SET C_USR= -DHARBOUR_MAIN_WIN JLC>use this (if you really need it): JLC>SET C_USR=-DHB_MAIN_WIN Thanks for the info and suggestions. JLC> JLC>As f

[Harbour] 2008-09-29 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-29 Thread Szakáts Viktor
2008-09-29 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak ! Fixed to use 'COPY /B' instead of 'COPY /A' to install headers, to avoid appending and EOL to these files. They should work as is. * make_gcc.mak ! Fixed mainstd lib name.

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Maurilio Longo
Przemyslaw Czerpak wrote: > For me it looks like normal CPU balancing done by OS. > It's out of Harbour application controll. Sometimes it > can be controlled by OS settings. > Yes, I've added a call to set affinity to a single cpu and now I have one cpu maxed out and the other nearly idle. I was

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Maurilio Longo
David Arturo Macias Corona wrote: > Maurilio: > >> I've got these results > >> PIV 2.4GHz UNI -- PIV 3.6GHz HT SMP >> CPU INT 2001.95 2863.38 >> CPU FLOAT 91.49 217.92 >>MEMORY4481.71 5213.02 > > And your speedtst.prg results in UNI ? Are very different of

Re: [SPAM] Re: [Harbour] [SPAM] RE: how to force Num-Lock on? gtwvt

2008-09-29 Thread Przemyslaw Czerpak
On Sun, 28 Sep 2008, Abeb wrote: > But the chalange is to trap any time the user presses the numlock, and put it > back on. So this code is still OK. best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project

Re: [SPAM] Re: [Harbour] [SPAM] RE: how to force Num-Lock on? gtwvt

2008-09-29 Thread Przemyslaw Czerpak
On Sun, 28 Sep 2008, Abeb wrote: > also i tried both methods , and they don't seem to work under gtwvt. Probably you made sth wrong. It works for me in Linux when I run MS-Win GTWVT application using WINE. best regards, Przemek ___ Harbour mailing list

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
On Sat, 27 Sep 2008, David Arturo Macias Corona wrote: Hi David, > Linux Mandriva 2008 > Harbour 1.1.0dev (Rev. 9507), Linux 2.6.22.18-desktop-1mdv i686 > - > ST > total application time: 64.25 > total real time: 67.

[Harbour] 2008-09-29 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
2008-09-29 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/include/hbthread.h * harbour/source/vm/hvm.c * harbour/source/vm/thread.c + added hb_vmThreadRegister() funtion which allows to register new thread in HVM without HVM stack all

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Szakáts Viktor
BTW, is there any objection to enable GCC -O3 switch for all scripts? MSVC/BCC already goes with optimizations turned on. Brgds, Viktor On 2008.09.29., at 11:18, Przemyslaw Czerpak wrote: On Sat, 27 Sep 2008, David Arturo Macias Corona wrote: Hi David, Linux Mandriva 2008 Harbour 1.1.0dev

[Harbour] thread priority

2008-09-29 Thread Maurilio Longo
Hi Przemyslaw, I think we need a way to set thread priority, which is missing right now if I'm not wrong. We could have four or five states (like IDLE, REGULAR, HIGH, TIME_CRITICAL), then every platform maps those states to its own available thread priority states. Best regards. Maurilio. --

[Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread David Arturo Macias Corona
Przemek: >How do you compiled Linux version? >Have you enabled any optimization in Linux builds? >Only mpkg_*.sh scripts enable GCC optimizations and in >normal build process by default all are disabled. >If you used one of them then please try to rebuild >Harbour with > export C_USR="-O3" Wit

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
On Mon, 29 Sep 2008, Maurilio Longo wrote: Hi Maurilio, > >> PS. BTW, If I press Alt-C process does not stop, probably only single > >> thread > >> gets stopped. See here, I had to press Alt-C two times. > >> (E:\repository\harbour-svn\tests\mt)mau > >> Cancelled at: T (9) in mau.prg > >> Cancel

RE: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak(druzus/at/priv.onet.pl)

2008-09-29 Thread Massimo Belgrano
In the future we will have support for Multiple gui? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Przemyslaw Czerpak Sent: Monday, September 29, 2008 12:47 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
On Mon, 29 Sep 2008, Szak�ts Viktor wrote: Hi Viktor, > BTW, is there any objection to enable GCC -O3 switch > for all scripts? > MSVC/BCC already goes with optimizations turned on. Some GCC versions where wrongly modified by Linux distribution authors and where giving wrong code or GPF during c

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Szakáts Viktor
Hi Przemek, Some GCC versions where wrongly modified by Linux distribution authors and where giving wrong code or GPF during compilation when -O3 was enabled, f.e. older Mandrake and Mandriva distros. It's the reason why I never enabled optimization by default. In some cases I also want to di

Re: [Harbour] Still having errors building libs for Wince - Evc4

2008-09-29 Thread Szakáts Viktor
Hi Jose, JLC>Instead of this: JLC>> SET C_USR= -DHARBOUR_MAIN_WIN JLC>use this (if you really need it): JLC>SET C_USR=-DHB_MAIN_WIN Thanks for the info and suggestions. JLC> JLC>As for the error, probably MT mode is not properly disabled. JLC> Do I need to do something more ? It would be g

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
On Mon, 29 Sep 2008, Szak�ts Viktor wrote: Hi Viktor, > Isn't it so that if someone uses C_USR=-O1, it would > override the default setting? I didn't try this with GCC, > but this is normal command line behavior (if C_USR follows > built-in options), and I do use this with MSVC. It should in suc

[Harbour] 2008-09-29 13:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
2008-09-29 13:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/workarea.c * added protection against multiple registering RDD with the same name by *_GETFUNCTABLE() in ST/MT mode or other thread in MT mode best regards Przemek ___

Re: [Harbour] Re: 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Szakáts Viktor
Hi Przemek, On Mon, 29 Sep 2008, Szak�ts Viktor wrote: Hi Viktor, Isn't it so that if someone uses C_USR=-O1, it would override the default setting? I didn't try this with GCC, but this is normal command line behavior (if C_USR follows built-in options), and I do use this with MSVC. It shou

[Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Francesco Saverio Giudice
Hi Przemek, Viktor, I would like to add hb_setSetCentury() C level function that I need to modify SET CENTURY at C level. So there are two files involved in this change: include/hbset.h source/vm/set.c I have attached a diff patch tu current SVN as proposal. If there is no objection I will up

[Harbour] 2008-09-29 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-29 Thread Szakáts Viktor
2008-09-29 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog * mpkg_tgz.sh * harbour.spec * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/rsx32.cf * config/dos/djgpp.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Szakáts Viktor
Hi Francesco, It looks okay to me. Brgds, Viktor On 2008.09.29., at 15:47, Francesco Saverio Giudice wrote: Hi Przemek, Viktor, I would like to add hb_setSetCentury() C level function that I need to modify SET CENTURY at C level. So there are two files involved in this change: include/hb

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Przemyslaw Czerpak
On Mon, 29 Sep 2008, Francesco Saverio Giudice wrote: Hi Francesco, > I would like to add hb_setSetCentury() C level function that I need to > modify SET CENTURY at C level. > So there are two files involved in this change: > include/hbset.h > source/vm/set.c > I have attached a diff patch tu cu

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Francesco Saverio Giudice
Hi Przemek, yes, my fault. I will fix it in a while. best regards Francesco Przemyslaw Czerpak ha scritto: On Mon, 29 Sep 2008, Francesco Saverio Giudice wrote: Hi Francesco, I would like to add hb_setSetCentury() C level function that I need to modify SET CENTURY at C level. So there are

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Francesco Saverio Giudice
Hi Przemek, attached the new version and test program I used to check it. I hope now it is right. best regards Francesco Francesco Saverio Giudice ha scritto: Hi Przemek, yes, my fault. I will fix it in a while. best regards Francesco Index: include/hbset.h ==

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Francesco Saverio Giudice
Ah, sorry, it is correct, but wrong as logic. I have mixed C and PRG version. Sorry. Disregard last mail. I will send last correct version. beste regards Francesco Francesco Saverio Giudice ha scritto: Hi Przemek, attached the new version and test program I used to check it. I hope now it is

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Francesco Saverio Giudice
Uhm, I'm tired. Version sent is correct. best regards Francesco Francesco Saverio Giudice ha scritto: Ah, sorry, it is correct, but wrong as logic. I have mixed C and PRG version. Sorry. Disregard last mail. I will send last correct version. beste regards Francesco ___

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Przemyslaw Czerpak
On Mon, 29 Sep 2008, Francesco Saverio Giudice wrote: Hi Francesco, > attached the new version and test program I used to check it. > I hope now it is right. Yes it's OK though it can be made simpler by using some existing functions, f.e.: HB_FUNC( __SETCENTURY ) { BOOL old_century_

Re: [Harbour] hb_setSetCentury() function proposal

2008-09-29 Thread Francesco Saverio Giudice
Hi Przemek, Przemyslaw Czerpak ha scritto: If you agree I'll commit it with some minor cleanup. Obviously please commit it. Thank you best regards Francesco ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/m

[Harbour] 2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/source/vm/set.c + divided __SETCENTURY() PRG function into two functions: __SETCENTURY() and public C function hb_setSetCentury() to manipulate century setting from C code.

Re: [Harbour] 2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Francesco Saverio Giudice
Hi Przemek, thank you. best regards Francesco Przemyslaw Czerpak ha scritto: 2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/source/vm/set.c + divided __SETCENTURY() PRG function into two functions: __SETCENTURY() and pub

Re: [Harbour] Re: hbrun and mt

2008-09-29 Thread Przemyslaw Czerpak
On Thu, 25 Sep 2008, David Arturo Macias Corona wrote: Hi David and Maurilio, > >I think yes, let's wait for David confirmation, anyway HB_OS2_TCP32 is > >more meaningfull since it pinpoints what it is changing. > Yes Iam agree, it look better > Please add in gcc.cf a comment for -DTCPV40HDRS ba

Re: [Harbour] [SPAM] Re: [SPAM] RE: how to force Num-Lock on? gtwvt

2008-09-29 Thread Abeb
But anywhere in a big app. as evant function like onkeypress is whats needed. Przemyslaw Czerpak-2 wrote: > > On Sun, 28 Sep 2008, Abeb wrote: >> But the chalange is to trap any time the user presses the numlock, and >> put it >> back on. > > So this code is still OK. > > best regards, > Prze

Re: [Harbour] Re: hbrun and mt

2008-09-29 Thread Maurilio Longo
Przemyslaw, I agree, you're right. Maurilio. -- __ | | | |__| Maurilio Longo |_|_|_|| farmaconsult s.r.l.  ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] 2008-09-29 13:11 UTC-0300 Antonio Carlos Pantaglione

2008-09-29 Thread [EMAIL PROTECTED]
2008-09-29 13:11 UTC-0300 Antonio Carlos Pantaglione <[EMAIL PROTECTED]> * contrib/xhb/common.mak * contrib/xhb/makefile + contrib/xhb/hbstruct.ch + contrib/xhb/hbstruct.prg + STRUCTURE / MEMBER / ENDSTRUCTURE support Regards, Toninho. __

Re: [Harbour] how to force Num-Lock on? gtwvt

2008-09-29 Thread Abeb
This Code works. Thanks Francesco Saverio Giudice wrote: > > Hi Abeb, > > Abeb ha scritto: >> How can i catch that num-lock was pressed (or any other key like >> ctrl,shift,alt) and force num-lock on? >> >> useing gtwvt >> >> thanks >> abe. >> > > try code below I wrote some time ago for xh

RE: [Harbour] how to play wav files, useing gtwvt?

2008-09-29 Thread Abeb
Thanks a lot. this led me an example in xharbour called Pegged, it uses PlaySound function. Thanks again. Massimo Belgrano-3 wrote: > > In windows platform you can use mciSendString api > Afaik this function is present in hwgui mciSendString( cCommand, > @cResult, hWindow ) > > > This Recor

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

2008-09-29 Thread Przemyslaw Czerpak
2008-09-29 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/gcc.cf * harbour/make_gnu_os2.cmd * moved -DTCPV40HDRS to make_gnu_os2.cmd and added small description about this macro. By default is enabled, can be disabled by setting environment varia

[Harbour] st printer to diferences between harbour and xharbour

2008-09-29 Thread Ciro Vargas Clemow
Hi all: with the next code using an HP USB pcl printer I obtain a valid print test but in harbour I obtain a file named (printer name) plus ".prn" why is the concept diference ? wich is correct ? regards Ciro clear ?? 'Print test' ? '-' ? SET(_SET_DEVICE)

Re: [SPAM] Re: [Harbour] [SPAM] Re: [SPAM] RE: how to force Num-Lock on? gtwvt

2008-09-29 Thread Przemyslaw Czerpak
On Mon, 29 Sep 2008, Abeb wrote: > But anywhere in a big app. as evant function like onkeypress is whats needed. If I understand you correctly then you need sth like special inkey value returned when some key shift flags are changed so you can associate some codeblock with it. It can be usable but

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

2008-09-29 Thread Maurilio Longo
Przemyslaw, sorry, I did not understand your request. I thought you were going to move the description of -DTCPV40HDRS to make_gnu_os2.cmd since make_gnu_os2.cmd should be the "entry point" of those that start building harbour on OS/2 Doing it this way you cannot build harbour with this define wi

[Harbour] Duplicated functions

2008-09-29 Thread Jorge Castellani
Hi!Today I tried to compile a console aplication using MiniGUI version 6.2.2 (implements Harbour compiler version 1.01), and I got this error: c:\hmg\Harbour\lib/libhbct.a(dattime2.o):dattime2.c:(.text+0x2b0): multiple definition of `HB_FUN_DMY' c:\hmg\Harbour\lib/libhbclipsm.a(date.o):date.c:(.

Re: [Harbour] [SPAM] RE: how to force Num-Lock on? gtwvt

2008-09-29 Thread Szakáts Viktor
But the chalange is to trap any time the user presses the numlock, and put it back on. I think this is not the job of a user application, but certainly not the job of GTWVT. There are probably ways to hack this behavior on the OS level. Brgds, Viktor Przemyslaw Czerpak-2 wrote: On Fri

Re: [Harbour] Duplicated functions

2008-09-29 Thread Szakáts Viktor
Hi Jorge, You're trying to link two contrib libs which have common function names. Common function names across libs is normal in certain case, like for example in this one. As a solution, try deleting one of the libs from the lib list of your link command. You'll probably want to delete hbclips

[Harbour] 2008-09-29 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-29 Thread Przemyslaw Czerpak
2008-09-29 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! restored some item type settings I wrongly removed few days ago best regards Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists

[Harbour] 2008-09-29 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-29 Thread Szakáts Viktor
2008-09-29 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * contrib/mtpl_b32.mak * bin/bld.bat % Added BCC optimization switches (the ones used for the Harbour release versions). * bin/bld.bat * bin/bld_os2.cmd + Added -O3 to GCC compilation. -- Brgds,

Re: [SPAM] [Harbour] Class TThread - Xbase++ Implementation

2008-09-29 Thread Przemyslaw Czerpak
On Sat, 27 Sep 2008, Pritpal Bedi wrote: Hi Pritpal, > Below is the class skelton with documentation of Xbase++ thread > implementation > via Thread class. It also contains two examples, 2nd one is really > interesting one > though I do not know how it behaves. > This skelton compiles fine in Har

Re: [Harbour] 2008-09-29 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-29 Thread [EMAIL PROTECTED]
> * bin/bld.bat >% Added BCC optimization switches > (the ones used for the Harbour release versions). Viktor, thanks for it. In my bcc32.cfg I use these options that you added and other two: -5 Generate Pentium instructions -6 Generate Pentium Pro instructions ---cut--- The Instructio

Re: [Harbour] 2008-09-29 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-29 Thread Szakáts Viktor
Hi Toninho, In my bcc32.cfg I use these options that you added and other two: -5 Generate Pentium instructions -6 Generate Pentium Pro instructions I'm using -6 locally (actually just thinking of dropping it), but I intentionally didn't add it to the default switches, as I believe we should

[Harbour] HBDOC & documentation

2008-09-29 Thread Alejandro de Garate
Viktor, all I am unable to syncronize with SVN I did several changes to hbdoc.prg and genhtm.prg and will do many more. Can you hold down from doing changes ? Viktor, If you agree I will send it to you the files changed and all the htm files from .\doc and .\doc\en in a few days to upload t

Re: [Harbour] HBDOC & documentation

2008-09-29 Thread Szakáts Viktor
Hi Alejandro, On 2008.09.30., at 0:36, Alejandro de Garate wrote: I am unable to syncronize with SVN Any specifics? SVN read and write works smoothly lately. I did several changes to hbdoc.prg and genhtm.prg and will do many more. Can you hold down from doing changes ? Of course, no prob

[Harbour] Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc

2008-09-29 Thread Pritpal Bedi
Hello I am receiving this error when linking in MT mode: [1]:iLink32.Exe -Gn -aa -Tpe -m @Ar32.bcl Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc BCC58 SET HB_BUILD_ST= SET C_USR=-DHB_FM_STATIST

Re: [Harbour] Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc

2008-09-29 Thread Szakáts Viktor
Hi Pritpal, This looks like a mismatch between core and contrib build-time MT switches. -DHB_FM_DL_ALLOC is now unnecessary, and I believe -D__MT__ is also not needed, maybe even dangerous. -DHB_VM_MT should be -DHB_MT_VM. (this may be the real problem) [ BTW, I think HB_VM_MT would be the bett

[Harbour] 2008-09-30 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-29 Thread Szakáts Viktor
2008-09-30 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_vc.mak * config/w32/msvc.cf * config/w32/msvcce.cf ! Removed -fp:fast optimization switch from WinCE builds. ! -W4 warning level enabled for MSVC in GNU-make too. -- Brgds, Viktor _

Re: [Harbour] Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc

2008-09-29 Thread Pritpal Bedi
Viktor Szakáts Viktor wrote: > > This looks like a mismatch between core and contrib > build-time MT switches. > > -DHB_FM_DL_ALLOC is now unnecessary, and I believe -D__MT__ > is also not needed, maybe even dangerous. > -DHB_VM_MT should be -DHB_MT_VM. (this may be the real problem) > Now I

Re: [Harbour] Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc

2008-09-29 Thread Pritpal Bedi
Viktor, Please ignore. HB_MT_VM has done the trick. Thanks Pritpal Bedi wrote: > > Viktor > > > Szakáts Viktor wrote: >> >> This looks like a mismatch between core and contrib >> build-time MT switches. >> >> -DHB_FM_DL_ALLOC is now unnecessary, and I believe -D__MT__ >> is also not neede

Re: [Harbour] Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc

2008-09-29 Thread Szakáts Viktor
Hi Pritpal, Szakáts Viktor wrote: This looks like a mismatch between core and contrib build-time MT switches. -DHB_FM_DL_ALLOC is now unnecessary, and I believe -D__MT__ is also not needed, maybe even dangerous. -DHB_VM_MT should be -DHB_MT_VM. (this may be the real problem) Now I get B

Re: [Harbour] Error: Unresolved external '_hb_stack' referenced from C:\HARBOUR\LIB\XHB.LIB|cstructc

2008-09-29 Thread Szakáts Viktor
Too late, but fine if it works :) Brgds, Viktor On 2008.09.30., at 2:29, Pritpal Bedi wrote: Viktor, Please ignore. HB_MT_VM has done the trick. Thanks Pritpal Bedi wrote: Viktor Szakáts Viktor wrote: This looks like a mismatch between core and contrib build-time MT switches. -DHB_

[Harbour] about hash() of xHarbour

2008-09-29 Thread WenSheng
Hi!! I'm user of xHarbour, I hope can trans to harbour, but use many hash(), somebody can help me how to use is at harbour ? ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] about hash() of xHarbour

2008-09-29 Thread Teo Fonrouge
On Monday 29 September 2008 07:45:03 pm WenSheng wrote: > Hi!! > > I'm user of xHarbour, > I hope can trans to harbour, > but use many hash(), > somebody can help me how to use is at harbour ? Sure WenSheng, You may try first to include the file "hbcompat.ch" (under the "harbour/contrib/xhb" dir

[Harbour] MT Compilation of PRG/C Application Sources

2008-09-29 Thread Pritpal Bedi
Hello Do we need to compile PRG/C application sources/third party libraries with exactly same switches with which Harbour is compiled? OR -DHB_MT_VM is enough? OR No need of any specific switches? IMO it is better if application code does not require any switches. Otherwise switching to ST

Re: [Harbour] MT Compilation of PRG/C Application Sources

2008-09-29 Thread Szakáts Viktor
Hi Pritpal, Do we need to compile PRG/C application sources/third party libraries with exactly same switches with which Harbour is compiled? OR -DHB_MT_VM is enough? It's only needed for some special cases dealing with HVM internals, like that file in xhb. For normal .prg files, it's never