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

2010-04-12 Thread vszakats
Revision: 14328 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14328&view=rev Author: vszakats Date: 2010-04-13 06:56:53 + (Tue, 13 Apr 2010) Log Message: --- 2010-04-12 08:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbide/ideprojmana

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

2010-04-12 Thread Viktor Szakáts
Hi Pritpal, >! More fixes to detect the executable from linker output ( still not > perfect ). You explicitly added default empty string as third parameter to STRTRAN(), but this does nothing, exact same thing is executed. In another line you remove Chr( 10 ) from a string which should nev

[Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Pritpal Bedi
Alex Strickland wrote: > >> Unix: The started process will run in its own session and act like a >> daemon. >> I do not know what exactly this means in unix. >> Also I do not know how to cover it. Someone with more nixes knowldge >> should tell us. > > It is similar to running a service in wind

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

2010-04-12 Thread vouchcac
Revision: 14327 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14327&view=rev Author: vouchcac Date: 2010-04-13 06:27:51 + (Tue, 13 Apr 2010) Log Message: --- 2010-04-12 23:25 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/hbqt_hbqplaint

Re: [Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Alex Strickland
Pritpal Bedi wrote: Unix: The started process will run in its own session and act like a daemon. I do not know what exactly this means in unix. Also I do not know how to cover it. Someone with more nixes knowldge should tell us. It is similar to running a service in windows. It is not attached

[Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Pritpal Bedi
Pritpal Bedi wrote: > > 1. Right-click on project name node in Projects tree and select > "Properties" > 2. Properties dialog will appear on right panel. > 3. Click on tab. > 4. In the editing box type-in > -incpath=_the_path_to_ch_filefolder_without_filename_ > 5. Add as many entries your .ch

[Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Pritpal Bedi
Bruno Luciani wrote: > > How I can include an external lib and a .ch file in HBIDE project ? > 1. Right-click on project name node in Projects tree and select "Properties" 2. Properties dialog will appear on right panel. 3. Click on tab. 4. In the editing box type-in -incpath=_the_path_to_ch_

Res: [Harbour] error build with bcc from svn

2010-04-12 Thread Fernando Athayde
sorry my fault i forgot clean before Best regards Fernando Athayde De: Fernando Athayde Para: harbour@harbour-project.org Enviadas: Segunda-feira, 12 de Abril de 2010 23:02:31 Assunto: [Harbour] error build with bcc from svn bcc32.exe -I. -I../../../../../

Re: [Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
How I can include an external lib and a .ch file in HBIDE project ? Bruno 2010/4/12 Massimo Belgrano > afai hbide in linux ennviroment non require any setup > What do you think for "setup linux"? > > I not able to execute project also in win imo beacause is under work > something problem relate

[Harbour] error build with bcc from svn

2010-04-12 Thread Fernando Athayde
bcc32.exe -I. -I../../../../../include -q -tWM -CP437 -w -w-sig- -Q -d -6 -O2 -OS -Ov -Oi -Oc -DHB_LEGACY_TYPES_OFF -DHB_HAS_PCRE -IE:/harbour_cvs/external/p cre -DPCRE_STATIC -DHB_HAS_ZLIB -IE:/harbour_cvs/external/zlib -I"\harbour\bcc55 \BIn\..\Include" -DUNICODE -otget.obj -c tget.c tget.c:

Re: [Harbour] Extension <.FPT>

2010-04-12 Thread Rossine
Hello Przemek, It runs well with DBFCDX, but you could also work with ADS ? See this sample: [CODE] #include "dbinfo.ch" function MAIN request DBFCDX request ADS rddsetdefault( "DBFCDX" ) ? hb_rddInfo( RDDI_MEMOEXT, NIL, "DBFCDX" ) && return ".fpt" ? Hb_rddInfo( RDDI_MEMOEXT, ".xxx", "

[Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Pritpal Bedi
Barry Jackson wrote: > > I am pretty useless with OOP, but digging a little this looks relevant? > > From QT 4.5 QProcess Class Reference > QProcess::startDetached. > > Unix: The started process will run in its own session and act like a > daemon. > > Windows: The started process will ru

Re: [Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Barry Jackson
On 12/04/10 23:48, Pritpal Bedi wrote: experiment with qProcess:startDetached_2( cTargetFN ) Play with METHOD IdeProjManager:launchProject( cProject, cExe ) and let us know what parameters are passed and in what way. May be we need to initiate a shell command to execute the executable. I

[Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Pritpal Bedi
Barry Jackson wrote: > >> My ash project does not run now - I suspect a change in Harbour in the >> last few days has broken it as it has always been OK. >> >> Error DBCMD/35 Workarea not in use: __DBLOCATE >> Called from __DBLOCATE(0) >> Called from INTVAR(401) >> Called from MAIN(195) > > Pri

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

2010-04-12 Thread Viktor Szakáts
Hi, >> Thank you very much. >> Harbour standard warning level was not enabled >> to avoid watching the large amount of warnings >> 3rd party sources are usually causing. >> >> I know they can be fixed with local patches, but >> IMO minimizing number of local patches is a higher >> level goal

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

2010-04-12 Thread Przemysław Czerpak
On Mon, 12 Apr 2010, Szak�ts Viktor wrote: Hi, > Thank you very much. > Harbour standard warning level was not enabled > to avoid watching the large amount of warnings > 3rd party sources are usually causing. > > I know they can be fixed with local patches, but > IMO minimizing number of loca

Re: [Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Barry Jackson
On 11/04/10 20:52, Barry Jackson wrote: On 11/04/10 20:14, Pritpal Bedi wrote: Pritpal Bedi wrote: It should launch theoretically. But let us examine how I am initiating the launch. My ash project does not run now - I suspect a change in Harbour in the last few days has broken it as it ha

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

2010-04-12 Thread vszakats
Revision: 14326 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14326&view=rev Author: vszakats Date: 2010-04-12 20:56:57 + (Mon, 12 Apr 2010) Log Message: --- 2010-04-12 22:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbqt/generator2

Re: [Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
Ha ok , I understand from Pritpal response that the problem was solved My mistake Bruno 2010/4/12 Massimo Belgrano > afai hbide in linux ennviroment non require any setup > What do you think for "setup linux"? > > I not able to execute project also in win imo beacause is under work > something

Re: [Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Massimo Belgrano
afai hbide in linux ennviroment non require any setup What do you think for "setup linux"? I not able to execute project also in win imo beacause is under work something problem related to http://n2.nabble.com/HBIDE-Project-build-start-folder-problem-td4861627i60.html#a4886893 2010/4/12 Bruno Lu

Re: [Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
? Where ? 2010/4/12 Massimo Belgrano > Here is how compile > http://www.elart.it/links/harbourhowto_deb_en.php > > > 2010/4/12 Bruno Luciani : > > Pritpal , this thread is not very clear , and I don't found a clear > recipe > > in howto > > configure HBIDE in linux. > > > > -- > Massimo Belgran

Re: [Harbour] Problem with "append from"

2010-04-12 Thread Przemysław Czerpak
On Mon, 12 Apr 2010, Rossine wrote: Hi, > This line using "via"... > append from &( cFile ) via "DBFCDX" SDF > ...generate this erro in compilation: > Erro E0030 SYNTAX Erro "SYNTAX Erro AT 'FROM'" > I use "Harbour 2.1.0dev (Rev. 14276)" > What can it be ? You haven't read Clipper documentation

Re: [Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Massimo Belgrano
Here is how compile http://www.elart.it/links/harbourhowto_deb_en.php 2010/4/12 Bruno Luciani : > Pritpal , this thread is not very clear , and I don't found a clear recipe > in howto > configure HBIDE in linux. -- Massimo Belgrano ___ Harbour maili

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

2010-04-12 Thread vszakats
Revision: 14325 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14325&view=rev Author: vszakats Date: 2010-04-12 19:46:50 + (Mon, 12 Apr 2010) Log Message: --- 2010-04-12 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * external/zlib/zlib.dif

[Harbour] Problem with "append from"

2010-04-12 Thread Rossine
Hello, This line using "via"... append from &( cFile ) via "DBFCDX" SDF ...generate this erro in compilation: Erro E0030 SYNTAX Erro "SYNTAX Erro AT 'FROM'" I use "Harbour 2.1.0dev (Rev. 14276)" What can it be ? Best Regards, Rossine. -- View this message in context: http://old.nabbl

Re: [Harbour] hbIde error saving new project

2010-04-12 Thread José Luis Capel
Barry, > > http://n2.nabble.com/HBIDE-Project-build-start-folder-problem-tp4861627p4886893.html > Thanks for the info. I'll take a look. Regards, José Luis Capel ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http:

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

2010-04-12 Thread druzus
Revision: 14324 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14324&view=rev Author: druzus Date: 2010-04-12 19:11:35 + (Mon, 12 Apr 2010) Log Message: --- 2010-04-12 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/zlib

Re: [Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
Pritpal , this thread is not very clear , and I don't found a clear recipe in howto configure HBIDE in linux. I am updating to the last SVN and tonight i get a new try by the way , I think that this topic need to be more simple , a new guy trying harbour for the first time give up before start.

Re: [Harbour] Re: hbIde error saving new project

2010-04-12 Thread José Luis Capel
Pritpal, > > I will try to fix this though I do not know what's the > behavior of directory() function if folder is empty. > Thanks, notwithstanding I'll take a look to see what's happening. Regards, José Luis Capel ___ Harbour mailing list (attachme

[Harbour] Re: hbIde error saving new project

2010-04-12 Thread Pritpal Bedi
José Luis Capel-3 wrote: > > On my ubuntu 10.04 box I compiled and run successfully hbide (from svn of > today). > > I have a problem when creating a new project: when clicking on "Save" I > get > this error: > > Error BASE/1132 Bound error: array access > > Called from IDEHOME:ADDPROJECTSIN

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-12 Thread CarozoDeQuilmes
My 2 cent: Starting the Apache2.2 service The Apache2.2 service is running. ] Apache/2.2.15 (Win32) configured -- resuming normal operations [Mon Apr 12 13:17:37 2010] [notice] Server built: Mar 4 2010 11:27:46 [Mon Apr 12 13:17:37 2010] [notice] Parent: Created child process 6532 [Mon Apr 12 13:

Re: [Harbour] svn rev. 14322 zlib compile error

2010-04-12 Thread Viktor Szakáts
I hope Przemek can take a look at it. For me it's difficult to guess the best tweak for *nix systems to enable 64-bit file operations. Brgds, Viktor On 2010 Apr 12, at 20:36, José Luis Capel wrote: > Hi Marco, > >> In file included from ../../../ioapi.h:45, >> from ../../../io

Re: [Harbour] hbIde error saving new project

2010-04-12 Thread Barry Jackson
On 12/04/10 19:20, José Luis Capel wrote: Hi, On my ubuntu 10.04 box I compiled and run successfully hbide (from svn of today). I have a problem when creating a new project: when clicking on "Save" I get this error: Error BASE/1132 Bound error: array access http://n2.nabble.com/HBIDE-Proje

[Harbour] Re: A question on C++

2010-04-12 Thread Pritpal Bedi
Viktor Szakáts wrote: > > Hi Przemek and All, > > Perfect. > True. But still I need a complete set of .h, .cpp, and .prg for only two classes with coubple of functions which compiles to a library. I had tried it and it was working if I wrote them manually to indivisual .cpps. > Just an

Re: [Harbour] svn rev. 14322 zlib compile error

2010-04-12 Thread José Luis Capel
Hi Marco, > In file included from ../../../ioapi.h:45, > from ../../../ioapi.c:19: > /home/ubuntu/src/harbour/external/zlib/zlib.h:1561: error: expected > ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gzseek64’ > /home/ubuntu/src/harbour/external/zlib/zlib.h:1562: error: expecte

Re: [Harbour] I have a problem with hb_arrayNew ()

2010-04-12 Thread sr...@adinet.com.uy
Hi Teo, thanks for caring about my doubts, but I think I am not understood very well. See the following example (trivial). Sorry for my poor English. Thank in avance, Claudio Soto. // Function Main SET_ARRAY_DATOS (.F.,.T.,.T.) ? RET_CONT () /

[Harbour] hbIde error saving new project

2010-04-12 Thread José Luis Capel
Hi, On my ubuntu 10.04 box I compiled and run successfully hbide (from svn of today). I have a problem when creating a new project: when clicking on "Save" I get this error: Error BASE/1132 Bound error: array access Called from IDEHOME:ADDPROJECTSINFO(367) Called from IDEHOME:REFRESH(325) Ca

Re: [Harbour] Re: A question on C++

2010-04-12 Thread Viktor Szakáts
Hi Przemek and All, Perfect. Just another idea to put this in practice (and now I'm trying to find optimum without thinking about who will or should implement this): Currently we have .qth files as source for the generator. I'd find it much better to use the QT headers _directly_, thus fully

Re: [Harbour] Re: A question on C++

2010-04-12 Thread Przemysław Czerpak
On Mon, 12 Apr 2010, Szak�ts Viktor wrote: Hi, > > Hi Viktor, I was about to send this message to the list when I had a > > shocking vision > > In postgres.c it is NORMAL to discriminate between objects... there is > > no use in passing type X instead of type Y and it must be avoided and > >

[Harbour] hbide r14323 some tests...

2010-04-12 Thread marco bra
On Ubuntu 10.04 32bits hbide, after compiling hbide r14323 with "hbmk2 hbide.hbp -rebuild" i report here some test - After "Close" and also "Close all" the function list isn't released i get old opened sources function listed if i exit and close and rerun HBIDE the function list is empty. - Openin

[Harbour] Re: Howto setup OS enviroment HBIDE

2010-04-12 Thread Pritpal Bedi
Bruno For sure you must have gone through the long thread http://n2.nabble.com/HBIDE-Project-build-start-folder-problem-tc4861627.html#a4887410 It describs in detail what you need to do, just follow it. - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this

Re: [Harbour] Close to our Polish colleagues

2010-04-12 Thread Przemysław Czerpak
On Sat, 10 Apr 2010, Lorenzo Fiorini wrote: Hi All, Thank you vary much. best regards, Przemek > I am deeply sorry to hear the news. > I am close to our Polish colleagues and I hope the best for their > beautiful country. > > Lorenzo Fiorini ___ Har

[Harbour] Re: hbide Launch error : file not found

2010-04-12 Thread Pritpal Bedi
Massimo Belgrano wrote: > > > Project [ test ]Launch [ Yes ]Rebuild [ No ]Started [ 17:42:53 > ] >

Re: [Harbour] Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
http://www.postimage.org/image.php?v=aV4Ot4i take a look Bruno 2010/4/12 marco bra > 2010/4/12 Bruno Luciani > >> I just try to create a project in linux , but i can't setup linux >> enviroment >> >> howto ? >> >> > I'm interested and i have some spare time to help but please be more > specif

Re: [Harbour] Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
I just try to create and compile a project in HBIDE but i get this error Project [ clients ] Launch [ Yes ] Rebuild [ No ] Started [ 13:04:03 ] : Do Not Exists hbmk2 /home/bruno/marinas-ide/s

Re: [Harbour] Howto setup OS enviroment HBIDE

2010-04-12 Thread marco bra
2010/4/12 Bruno Luciani > I just try to create a project in linux , but i can't setup linux > enviroment > > howto ? > > I'm interested and i have some spare time to help but please be more specific or give a sample so we can do the same thing you do... Best regards, Marco -- Linux Infinite Fre

[Harbour] Howto setup OS enviroment HBIDE

2010-04-12 Thread Bruno Luciani
I just try to create a project in linux , but i can't setup linux enviroment howto ? Bruno ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: hbide Launch error : file not found

2010-04-12 Thread Massimo Belgrano
Project [ test ]Launch [ Yes ]Rebuild [ No ]Started [ 17:42:53 ] Batch File Exists =>

[Harbour] Re: hbide Launch error : file not found

2010-04-12 Thread Pritpal Bedi
Massimo Belgrano wrote: > > Compiling my sample project i receive follow error: > > Exit Code [ 0 ] Exit Status [ 0 ] Finished at [ 16:42:26 ] Done in [ 0.95 > Secs ] > > > > Detected exeutabl

Re: [Harbour] I have a problem with hb_arrayNew ()

2010-04-12 Thread Teo Fonrouge
Hello Claudio, Forgot to give the link. On Apr 12, 2010, at 9:47 AM, Teo Fonrouge wrote: > Hello Claudio, > > [snip] > Please read the following link, even it's based on Clipper 5.2 > it perfectly applies to current Harbour too. http://www.ousob.com/ng/cltech/ngc2f1.php [snip] best regard

[Harbour] hbide Launch error : file not found

2010-04-12 Thread Massimo Belgrano
Compiling my sample project i receive follow error: Exit Code [ 0 ] Exit Status [ 0 ] Finished at [ 16:42:26 ] Done in [ 0.95 Secs ] Detected exeutable => C:/harbour/contrib/hbide/projects/tests/

Re: [Harbour] I have a problem with hb_arrayNew ()

2010-04-12 Thread Teo Fonrouge
Hello Claudio, On Apr 12, 2010, at 9:03 AM, sr...@adinet.com.uy wrote: > Hi all, > > I have a doubt with the function hb_arrayNew > When I create an array in C: > > #pragma begindump > #include "hbapi.h" > #include "hbapiitm.h" > > HB_FUNC (MyFunc) > { > . > > pArray

[Harbour] Re: Improve on hbqt object handling

2010-04-12 Thread Pritpal Bedi
francesco perillo wrote: > > The link I wanted to send warned to never allocate a Qt object on the > stack... > some thing like > func x() > { >QPushButton qpb; > } > but allways use new operator > This is good for majority of situations but not always. This all depends on what type of

[Harbour] I have a problem with hb_arrayNew ()

2010-04-12 Thread sr...@adinet.com.uy
Hi all, I have a doubt with the function hb_arrayNew When I create an array in C: #pragma begindump #include "hbapi.h" #include "hbapiitm.h" HB_FUNC (MyFunc) { . pArray = hb_itemNew (NULL); hb_arrayNew (pArray, size); .. ... } before the progr

[Harbour] Re: A question on C++

2010-04-12 Thread Viktor Szakáts
>>> It is perfectly normal to pass a QPushButton to a function that >>> expects a QObject !! since QObject is a super-class ! >>> >>> Since we don't store the object hierarchy Pritpal just checks that >>> ClassName() starts with a Q or HB and keeps the finger crossed... >> >> That's

Re: [Harbour] Re: Improve on hbqt object handling

2010-04-12 Thread francesco perillo
> 2nd link I never read but it has little for us. I sent the wrong link,but anyway it states that they too had problems with memory deallocations and that it is important that each object has a parent. The link I wanted to send warned to never allocate a Qt object on the stack... some thing like

[Harbour] Re: A question on C++

2010-04-12 Thread francesco perillo
On Mon, Apr 12, 2010 at 2:56 PM, Viktor Szakáts wrote: > Hi, > >> Hi Viktor, I was about to send this message to the list when I had a >> shocking vision >> >> In postgres.c it is NORMAL to discriminate between objects... there is >> no use in passing type X instead of type Y and it must be av

[Harbour] Re: A question on C++

2010-04-12 Thread Viktor Szakáts
Hi, > Hi Viktor, I was about to send this message to the list when I had a > shocking vision > > In postgres.c it is NORMAL to discriminate between objects... there is > no use in passing type X instead of type Y and it must be avoided and > RTE is good. > > But in Qt we have a HIERARCHY

Re: [Harbour] Re: looking for hbqt GPFs...

2010-04-12 Thread francesco perillo
> You tried with hbIDE ? > > If yes, please note that it is now optimized to destroy objects > in proper way. Would be possible to disable to optimized destroy to do some tests ? If yes, please reply privately how it can be done... Thanks Francesco ___

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

2010-04-12 Thread Alex Strickland
vszak...@users.sourceforge.net wrote: 2010-04-12 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added feature to allow -inc mode when using harbour compiler as preprocessor: 'hbmk2 -hbraw -inc -p[] -s[]<.prg[s]>' You are too kind. Thank

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

2010-04-12 Thread vszakats
Revision: 14323 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14323&view=rev Author: vszakats Date: 2010-04-12 09:13:03 + (Mon, 12 Apr 2010) Log Message: --- 2010-04-12 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] hbmk2 magically morphs into make?

2010-04-12 Thread Alex Strickland
To Viktor and Pritbal Yes, something like Massimo says. Two hbmk2 calls in -hbraw mode plus -u and -o Harbour options. Sorry, I did not make myself clear. It is the compilation conditional based on the time of the source file changing which I wish to exploit (like any make tool). Note that

[Harbour] Re: A question on C++

2010-04-12 Thread Viktor Szakáts
> You wrote: > This is a basic feature of our GC allocator. Current > problem is that all objects use one common GC > allocator, with one commno fingerprint. > > Can you point me to same samples ? Any contrib is fine besides HBQT. F.e.: contrib\hbpgsql\postgres.c The fingerprint is the handl