Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Barry Jackson
Thanks Bruno, I will pass on it as it seems to rely on calls to Win32 functions. Linux also uses a port name not a number and this would not be incorporated. I have resolved the problems that I was having with hbtpathy and my application is working - just a bit of tidying up to do. Thanks again fo

Re: [Harbour] 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-09 Thread Barry Jackson
I just tested ? XTOC( 2007 ) in Mandriva 2009 and it returns NIL Lorenzo Fiorini wrote: On Fri, Jan 9, 2009 at 6:00 PM, Przemyslaw Czerpak wrote: 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ftoc.c * harbour/contrib/hbct/misc1.c * chang

Re: [Harbour] 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-09 Thread Lorenzo Fiorini
On Fri, Jan 9, 2009 at 6:00 PM, Przemyslaw Czerpak wrote: > 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/contrib/hbct/ftoc.c > * harbour/contrib/hbct/misc1.c >* changed XTOC(), FTOC() and CTOF() to always store/retirve numbers as > double value in li

Re: [Harbour] 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-09 Thread Lorenzo Fiorini
On Fri, Jan 9, 2009 at 6:00 PM, Przemyslaw Czerpak wrote: > 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/contrib/hbct/ftoc.c > * harbour/contrib/hbct/misc1.c >* changed XTOC(), FTOC() and CTOF() to always store/retirve numbers as > double value in li

Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Bruno Luciani
the library is in source format take a try Bruno 2009/1/8 Barry Jackson : > > Thanks Bruno, > I had a quick look but it seems to be Windows based - is it for Linux as > well? > If so I will look closer. > Cheers, Barry > > Bugzilla from bruno.luci...@gmail.com wrote: >> >> Barry , try this librar

Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Bruno Luciani
It is for windows but compiles ok using MinGW , I dont know if it works in linux , probably not . Bruno 2009/1/8 Barry Jackson : > > Thanks Bruno, > I had a quick look but it seems to be Windows based - is it for Linux as > well? > If so I will look closer. > Cheers, Barry > > Bugzilla from bruno

Re: RE: [Harbour] Compile tests with OpenWatcom.

2009-01-09 Thread Przemyslaw Czerpak
On Fri, 09 Jan 2009, Horodyski Marek (PZUZ) wrote: > >You are using some old build scripts which probably creates > >.lnk file for OpenWatcom using sth like: > > echo LIB %HB_LIB_INSTALL%\hbdebug.lib >> _hb_mk.tmp and > >because you do not have HB_LIB_INSTALL envvar then library > >paths po

[Harbour] 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-09 Thread Przemyslaw Czerpak
2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ftoc.c * harbour/contrib/hbct/misc1.c * changed XTOC(), FTOC() and CTOF() to always store/retirve numbers as double value in little endian order to reduce platform differences ; TOFIX in

RE: [Harbour] Compile tests with OpenWatcom.

2009-01-09 Thread Horodyski Marek (PZUZ)
>You are using some old build scripts which probably creates >.lnk file for OpenWatcom using sth like: > echo LIB %HB_LIB_INSTALL%\hbdebug.lib >> _hb_mk.tmp and >because you do not have HB_LIB_INSTALL envvar then library >paths points to \ directory. >Use current hbmk.bat from Harbour repos

[Harbour] hbct issues

2009-01-09 Thread Lorenzo Fiorini
I've found that XTOC( 2007 ) returns garbage and that LASTDAYOM returns 0 without parameters while the doc says it should use the system date. For XTOC there is warning that says: ATTENTION: different implementations or platforms of Harbour, they * could produce different format in the

Re: RE: [Harbour] Watcom and WIn32

2009-01-09 Thread Przemyslaw Czerpak
On Fri, 09 Jan 2009, Horodyski Marek (PZUZ) wrote: Hi Marek, > now I have already GNU MAKE system, but he does not see libraries when I > compile testing programs (as tests folders). See the second message I sent today as answer for your request. best regards, Przemek __

RE: [Harbour] Watcom and WIn32

2009-01-09 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Przemyslaw Czerpak [mailto:dru...@acn.waw.pl] >Sent: Friday, January 09, 2009 11:14 AM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] Watcom and WIn32 > >On Fri, 07 Nov 2008, Horodyski Marek (PZUZ) wrote: > [...] >> How I try make harbour with

[Harbour] 2009-01-09 13:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-09 Thread Przemyslaw Czerpak
2009-01-09 13:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * updated __objHasMsgAssigned() + accept also symbols (@methodname()) not only strings as message name (2-nd parameter) just like in __objHasMsg() or __objSendMsg() + added

Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Barry Jackson
Hi Przemek, Thank you for taking the time to provide such a detailed and complete explanation. Cheers, Barry. Przemyslaw Czerpak-2 wrote: > > On Fri, 09 Jan 2009, Barry Jackson wrote: > > Hi Barry, > >> I have now built my small Linux application using xhgtk front end and >> hbtpathy for the

[Harbour] CHANGELOG: 2009-01-09 12:55 UTC+0100 Maurilio Longo

2009-01-09 Thread Maurilio Longo
2009-01-09 12:55 UTC+0100 Maurilio Longo (maurilio.lo...@libero.it) * harbour/config/os2/global.cf * simplified and fixed an error in deleting files * harbour/source/rtl/hbffind.c ! fixed hb_fsFindNextLow() in OS/2 which was using stat to find file size, but as it seems, st_size

Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Przemyslaw Czerpak
On Fri, 09 Jan 2009, Barry Jackson wrote: Hi Barry, > I have now built my small Linux application using xhgtk front end and > hbtpathy for the com functions - > it works fine - just like my Xbase++ version in Windows - I am really > impressed with Harbour! > It also builds with > hbmk hdvr -lh

Re: [Harbour] PCode DLL

2009-01-09 Thread Juan Gálvez
Many thanks - Original Message - From: "Przemyslaw Czerpak" To: "Harbour Project Main Developer List." Sent: Friday, January 09, 2009 11:27 AM Subject: Re: [Harbour] PCode DLL On Fri, 09 Jan 2009, Juan Gálvez wrote: Hi Juan, If you want to used PCODE DLLs with static Harbour bin

Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Barry Jackson
Hi Przemek, Thank you so much for that! I knew there had to be an easier way, but could not find it! Easy when you know. I have now built my small Linux application using xhgtk front end and hbtpathy for the com functions - it works fine - just like my Xbase++ version in Windows - I am really imp

Re: [Harbour] PCode DLL

2009-01-09 Thread Przemyslaw Czerpak
On Fri, 09 Jan 2009, Juan Gálvez wrote: Hi Juan, >> If you want to used PCODE DLLs with static Harbour binaries then you >> have to compile Harbour exporting public symbols like for share >> harbour library. It's enough to set HB_DYNLIB macro. F.e. by: >> set C_USR=-DHB_DYNLIB >> then rebuild H

Re: [Harbour] Compile tests with OpenWatcom.

2009-01-09 Thread Przemyslaw Czerpak
On Thu, 08 Jan 2009, Horodyski Marek (PZUZ) wrote: Hi Marek, > I try work with OpenWacom 1.7 on Win32. > Positively create Harbor.exe (with a few errors in WVGWIN, thaks to > Massimo). > I have all libraries (lib files in folder C:\harbour\lib\w32\owatcom\.). If you set, HB_BIN_INSTALL, HB_INC_I

Re: [Harbour] Watcom and WIn32

2009-01-09 Thread Przemyslaw Czerpak
On Fri, 07 Nov 2008, Horodyski Marek (PZUZ) wrote: Hi Marek, > How I try make harbour with OpenWatcom 1.7 ? > In make_gnu.bat is call make.exe, but watcom has nMake. > With change name make program too not work. You need GNU make. All builds can be created using GNU make. Only BCC and MSVC have

Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-09 Thread Przemyslaw Czerpak
On Wed, 07 Jan 2009, Barry Jackson wrote: Hi Barry, [...] > I have compiled and linked the test program as follows:- > > [...@jackodesktop hbr]$ hbcmp -gc -n telepath.prg > Harbour 1.1.0dev (Rev. 9956) > Copyright (c) 1999-2008, http://www.harbour-project.org/ > Compiling 'telepath.prg'... > Lin

[Harbour] Harbour and OpenWatcom.

2009-01-09 Thread Horodyski Marek (PZUZ)
Thanks Peter for your reply. Problem still. I send current file and raport in zip file to priv email. Yesterday I have send 2 mails to harbour@harbour-project.org, but from request have one mail. Fortunately, is still http://lists.harbour-project.org/pipermail/harbour/2009-January/thread.h tml R

Re: [Harbour] PCode DLL

2009-01-09 Thread Juan Gálvez
Hi Przemek, If you want to used PCODE DLLs with static Harbour binaries then you have to compile Harbour exporting public symbols like for share harbour library. It's enough to set HB_DYNLIB macro. F.e. by: set C_USR=-DHB_DYNLIB then rebuild Harbour. It works fine :) I thought -D__EXPORT_