Re: [Harbour] Testing Linux

2009-11-12 Thread Guy Roussin
Hi, I have tried building Harbour under Mandriva 2010 and compiled the hello.prg successfully but when I run, I have the following error. But I have verified that the libharbour.so was found under /usr/local/lib and /usr/local/lib/harbour. Add as root: /usr/local/lib/ /usr/local/lib/harbou

[Harbour] Testing Linux

2009-11-12 Thread Mario H. Sabado
Hi, I have tried building Harbour under Mandriva 2010 and compiled the hello.prg successfully but when I run, I have the following error. But I have verified that the libharbour.so was found under /usr/local/lib and /usr/local/lib/harbour. Thanks for any help. Mario **

Re: [Harbour] HBQT, HBXBP - Test - New HB GC and QT interface

2009-11-12 Thread Viktor Szakáts
>> "ToOutDebug" and friends are not allowed to be used in >> any of our contribs. Ever. Yet they are unfortunately. >> There is a large inconsistent mess when it comes to debug >> calls in hbqt/hbxbp. >> > > But then there is no viable alternative to this until library stabilizes. > I think we

RE: [Harbour] HBQT, HBXBP - Test - New HB GC and QT interface

2009-11-12 Thread Pritpal Bedi
Hi Bisz István wrote: > > The modified hbqt, hbxbp, demoqt and demoxbp are now crash free on Windows > Vista with Mingw, Fedora12 and CentOS5.4. The log-s produced by valgrind > on linux are clean. > Good to know. It is not a only matter of crashes when exiting the application, More concern

Re: [Harbour] HBQT, HBXBP - Test - New HB GC and QT interface

2009-11-12 Thread Pritpal Bedi
Hello Viktor Szakáts wrote: > > "ToOutDebug" and friends are not allowed to be used in > any of our contribs. Ever. Yet they are unfortunately. > There is a large inconsistent mess when it comes to debug > calls in hbqt/hbxbp. > But then there is no viable alternative to this until library

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
Really good news indeed ! Ok, I now agree with you, hbvpdf may be removed if nobody actually use it ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Viktor Szakáts
>> hbvpdf is outdated beyond repair. > > But it seems to be the only library that can be used on linux... > there may be others I don't know,,, of course I don't know where you got this information from, but it's not true, so I just can guess you never actually tried it on Linux. >> Try hbhpdf

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Viktor Szakáts
> I thank you for your work ! It's important to have a pdf library that > is all in harbour code !!! It can work on linux too ! Haru is a lot of > c code and some seems to be very windows specific... That's totally false information. libharu is portable ANSI C and there is nothing in it which mak

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
> hbvpdf is outdated beyond repair. But it seems to be the only library that can be used on linux... there may be others I don't know,,, of course > Try hbhpdf. Thanks, but I'm going back to PdfCreator at the moment Code was 90% ready Francesco __

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
On Fri, Nov 13, 2009 at 12:23 AM, Pritpal Bedi wrote: > > Hi > > > francesco perillo-2 wrote: >> >> So, after a couple of days spent on this library that looked >> interesting, I think I will give up it may have some other >> "hidden" features... >> >> What's your idea ? >> > > Probably you ne

RE: [Harbour] HBQT, HBXBP - Test - New HB GC and QT interface

2009-11-12 Thread Bisz István
Hi Pritpal, The modified hbqt, hbxbp, demoqt and demoxbp are now crash free on Windows Vista with Mingw, Fedora12 and CentOS5.4. The log-s produced by valgrind on linux are clean. Best regards, István -Original Message- From: harbour-boun...@harbour-project.org [mailto:harbour-boun..

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Viktor Szakáts
hbvpdf is outdated beyond repair. Try hbhpdf. Probably we should remove hbvpdf altogether from SVN, as it just creates reports we can't deal with in any meaningful way. Brgds, Viktor On 2009 Nov 12, at 23:55, francesco perillo wrote: > Well, it compiles and it works... but there are some str

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Pritpal Bedi
Hi francesco perillo-2 wrote: > > So, after a couple of days spent on this library that looked > interesting, I think I will give up it may have some other > "hidden" features... > > What's your idea ? > Probably you never read about the origin of the library and its passage through this

Re: [Harbour] HBQT, HBXBP - Test - New HB GC and QT interface

2009-11-12 Thread Viktor Szakáts
"ToOutDebug" and friends are not allowed to be used in any of our contribs. Ever. Yet they are unfortunately. There is a large inconsistent mess when it comes to debug calls in hbqt/hbxbp. At the same time I've added this in hbxbp on .prg level: --- #if defined( __HB_OUTDEBUG__ )

Re: [Harbour] HBQT, HBXBP - Test - New HB GC and QT interface

2009-11-12 Thread Pritpal Bedi
Thanks Bisz Bisz István wrote: > > Please find attached the HBQT and HBXBP components modified to eliminate > the > crashes already reported on this list. > > ·The main modification is in the HB GC and QT interface, > eliminating > the crashes caused by the double object deletes. The m

[Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
Well, it compiles and it works... but there are some strangeness in the code ) Start with this code snippet: #ifdef __XPP__ METHOD tPdf:SetLPI(_nLpi) #else METHOD SetLPI(_nLpi) #endif local cLpi := alltrim(str(_nLpi)) DEFAULT _nLpi TO 6 cLpi := iif(cLpi$"1;2;3;4;6;8;12;16;24;48",cLpi

Re: [Harbour] Array

2009-11-12 Thread Roberto Lopez
Guy Roussin wrote: Hi, Is there a different way to initialize/create an associative array in Harbour? v := {=>} Thanks! Regards, Roberto. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-p

Re: [Harbour] Array

2009-11-12 Thread Guy Roussin
Hi, Is there a different way to initialize/create an associative array in Harbour? v := {=>} Guy ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Array

2009-11-12 Thread Roberto Lopez
Pritpal Bedi wrote: Is it possible, in Harbour, to use arrays and vectors with a string index, like PHP language? Yes. The syntax is : v := hb_hash() Is there a different way to initialize/create an associative array in Harbour? TIA. Regards, Roberto. ___

Re: [Harbour] Create error: net:127.0.0.1:2941:data/_tst_.dbf

2009-11-12 Thread Teo Fonrouge
On Nov 12, 2009, at 11:47 AM, Massimo Belgrano wrote: > Running netiotst.prg > c:\harbour\contrib\hbnetio\tests>netiotst > > NETIO server activated. > Press any key to continue... > > NETIO_CONNECT(): .T. > > Error DBFCDX/1004 Create error: net:127.0.0.1:2941:data/_tst_.dbf (DOS Error > 3)

[Harbour] Create error: net:127.0.0.1:2941:data/_tst_.dbf

2009-11-12 Thread Massimo Belgrano
Running netiotst.prg c:\harbour\contrib\hbnetio\tests>netiotst NETIO server activated. Press any key to continue... NETIO_CONNECT(): .T. Error DBFCDX/1004 Create error: net:127.0.0.1:2941:data/_tst_.dbf (DOS Error 3) Called from DBCREATE(0) Called from CREATEDB(62) Called from MAIN(40) Root f

Re: [Harbour] SF.net SVN: harbour-project:[12865] trunk/harbour

2009-11-12 Thread Viktor Szakáts
Hi Chen, > After this change, Harbour is built when I set: > >set HB_USER_PRGFLAGS=-l- >set HB_USER_CFLAGS=-v -y -vG -Od >set HB_USER_LIBS=cg32 >set HB_BUILD_OPTIM=no >set HB_COMPILER=bcc > > But every EXE which is a complied PRG now gives CodeGuard errors > about pointer ari

Re: [Harbour] SF.net SVN: harbour-project:[12865] trunk/harbour

2009-11-12 Thread Chen Kedem
After this change, Harbour is built when I set: set HB_USER_PRGFLAGS=-l- set HB_USER_CFLAGS=-v -y -vG -Od set HB_USER_LIBS=cg32 set HB_BUILD_OPTIM=no set HB_COMPILER=bcc But every EXE which is a complied PRG now gives CodeGuard errors about pointer arithmetic in invalid memory

[Harbour] SF.net SVN: harbour-project:[12865] trunk/harbour

2009-11-12 Thread vszakats
Revision: 12865 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12865&view=rev Author: vszakats Date: 2009-11-12 15:24:23 + (Thu, 12 Nov 2009) Log Message: --- 2009-11-12 16:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * Updated dev

Re: [Harbour] Re: something is wrong with BCC build

2009-11-12 Thread Viktor Szakáts
> Viktor, > >> Here it works as expected with 5.5 and no extra build parameters. > > I wrote that in my mail. Normal build DO work, > but if I add an extra library like: set HB_USER_DFLAGS=cg32.lib > it IS broken in current version and Ok with older config/rules.mk Ah ok, sorry. Probably we sho

[Harbour] Re: something is wrong with BCC build

2009-11-12 Thread Chen Kedem
Viktor, > Here it works as expected with 5.5 and no extra build parameters. I wrote that in my mail. Normal build DO work, but if I add an extra library like: set HB_USER_DFLAGS=cg32.lib it IS broken in current version and Ok with older config/rules.mk Chen. ___

Re: [Harbour] Re: how to control the MDI windows in ALIAS ?

2009-11-12 Thread Massimo Belgrano
I totally agree I am one of user frustrated by alaska's promise in year 2000-2004 But here a component seem be made by Roger Donnay so Maj arrive Visual Fox Pro is very large comunity so hi hope that The experience of harbour in be compatible with Xbase++ (Thank to Priptal xbp) and idea of vianemo

Re: [Harbour] Re: something is wrong with BCC build

2009-11-12 Thread Viktor Szakáts
>> It seems hbpp.exe is broken. > > Well, it is not broken, it simply not created in the expected place > see my last note: > >>> In the later version, hbpp.exe is created in src/pp/obj/win/bcc instead of >>> bin/win/bcc > > It seems that BCC does not like the order of the parameters used, > an

[Harbour] Re: something is wrong with BCC build

2009-11-12 Thread Chen Kedem
Mindaugas, > It seems hbpp.exe is broken. Well, it is not broken, it simply not created in the expected place see my last note: >> In the later version, hbpp.exe is created in src/pp/obj/win/bcc instead of >> bin/win/bcc It seems that BCC does not like the order of the parameters used, and use

Re: [Harbour] something is wrong with BCC build

2009-11-12 Thread Mindaugas Kavaliauskas
Hi, Chen Kedem wrote: I'm testing Rev12864 with Borland C++Builder 5.0 on a WinNT 4.0. A normal build run just fine, but when I try to build it with CodeGoard I get an error. process_begin: CreateProcess(NULL, ../../../../../bin/win/bcc/hbpp.exe ../../../../../include/hbstdgen.ch -opptable.c

Re: [Harbour] STATIC variables in HRB and PCODE DLL

2009-11-12 Thread Adam Lubszczyk
Viktor Szakáts wrote: > > Why not add an explicit init function to reinit that > variable whenever you need it? > OK I may add extra init function (And MUST remember write it), but why, if it already exists function HB_FUNC_INITSTATICS(). The problem is that it is invoked only once. That beha

[Harbour] something is wrong with BCC build

2009-11-12 Thread Chen Kedem
I'm testing Rev12864 with Borland C++Builder 5.0 on a WinNT 4.0. A normal build run just fine, but when I try to build it with CodeGoard I get an error. set HB_USER_PRGFLAGS=-l- set HB_USER_CFLAGS=-v -y -vG -Od set HB_USER_DFLAGS=cg32.lib set HB_USER_LDFLAGS=cg32.lib set HB_BUI

Re: [Harbour] How can I tell the make to generate I harbor a specific folder?

2009-11-12 Thread Guillermo Varona Silupú
Viktor Szakáts escribió: I'd kindly ask to pose these question on users forums. Ok. Thank you very much Best Regards GVS ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] How can I tell the make to generate I harbor a specific folder?

2009-11-12 Thread Viktor Szakáts
or just don't use install, or use sudo. I'd kindly ask to pose these question on users forums. Brgds, Viktor On 2009 Nov 12, at 13:58, Guillermo Varona Silupú wrote: > Haciendo esto me funciono: > > I worked doing this: > > guille...@guillermo-ubuntu:~/harbour$ export > HB_INSTALL_PREFIX=/hom

Re: [Harbour] How can I tell the make to generate I harbor a specific folder?

2009-11-12 Thread Guillermo Varona Silupú
Haciendo esto me funciono: I worked doing this: guille...@guillermo-ubuntu:~/harbour$ export HB_INSTALL_PREFIX=/home/guillermo/hrbMinGW Best Regards GVS Guillermo Varona Silupú escribió: ENV: Ubuntu 8.04 [SPA] ¿Cómo puedo indicarle al make para que me genere harbour en una carpeta especific

Re: [Harbour] STATIC variables in HRB and PCODE DLL

2009-11-12 Thread Viktor Szakáts
Why not add an explicit init function to reinit that variable whenever you need it? IMO it's not the job of HRB engine to solve such programming tasks. Such setting has not much point anyway as you may have multiple STATIC vars with different init requirement inside on .hrb. Moreover it makes

[Harbour] STATIC variables in HRB and PCODE DLL

2009-11-12 Thread Adam Lubszczyk
Hi! Sample code: ** hrbcode.prg (or PCODE dll) * FUNCTION abc() STATIC x:=99 ++x RETURN x *** main.prg ** PROCEDURE main() LOCAL i,h FOR i:=1 TO 3 h:=HB_HRBLOAD("hrbcode.hrb") ?? &("abc()") ?? &("abc()") HB_HRBUNLOAD(h) NEXT Show: 100 101 1

Re: [Harbour] Re: how to control the MDI windows in ALIAS ?

2009-11-12 Thread Viktor Szakáts
Plus it's not portable. Xbase++ is now a Windows-only solution, while Harbour runs on just about anything. Maybe Xbase++ should consider sponsoring Harbour core and start converting Xbase++ to an addon. I know, I know... :) Brgds, Viktor On 2009 Nov 12, at 12:05, Antonio Martinez wrote: > Ma

[Harbour] SF.net SVN: harbour-project:[12864] trunk/harbour

2009-11-12 Thread ckedem
Revision: 12864 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12864&view=rev Author: ckedem Date: 2009-11-12 11:17:55 + (Thu, 12 Nov 2009) Log Message: --- 2009-11-12 13:15 UTC+0200 Chen Kedem * harbour/config/win/bcc.mk ! Change page size from

[Harbour] Re: how to control the MDI windows in ALIAS ?

2009-11-12 Thread Antonio Martinez
Massimo, xBase++ == promises+ promises+ promises+ new road map+ newer road map+ newest road map+ renewest roadmap == decepcion.. >The new version of Xbase + + 2.0 will have 100% compatibility with the >data, data types and basics: The syntax of programming in Visual >FoxPro.