[Harbour] Harbour-project.org - Crew List - Important Omission

2009-06-03 Thread Pritpal Bedi
Hello All I was going through the crew list, just to make myself familiar with the starlawts who were in the helm of Harbour evolution, and found a very important omission. I could not find Horacio Roldan's name there. To the new group members let me have the priviledge to introduce Horacio a

Re: [Harbour] hash() in harbour

2009-06-03 Thread Viktor Szakáts
>> Teo, >> >> Thanks for answering my question. Why it is not in Harbor? >> AFAIK any contrib Harbour can run on xHarbour. Not is forbidden the use of >> __XHARBOUR__ > > True. > >> >> IMHO wxWidgets is a recognized GUI lib used in software such as >> Code::Blocks, pgAdmin III or wxScintilla. >> Is

Re: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Pritpal Bedi
Hello Przemek For the last three hours I am trying to reach some results by applying your code with more permutations and combinations. So far I have not reached any solution. The first observation is that METHOD :enter() SYNC is not working as synchronized. A startup only one programmer should

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

2009-06-03 Thread vouchcac
Revision: 11205 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11205&view=rev Author: vouchcac Date: 2009-06-04 06:35:23 + (Thu, 04 Jun 2009) Log Message: --- 2009-06-03 23:29 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/hbqt/Makefi

Re: [Harbour] hash() in harbour

2009-06-03 Thread Teo Fonrouge
On 03/06/2009, at 09:23 p.m., Xavi wrote: Teo, Thanks for answering my question. Why it is not in Harbor? AFAIK any contrib Harbour can run on xHarbour. Not is forbidden the use of __XHARBOUR__ True. IMHO wxWidgets is a recognized GUI lib used in software such as Code::Blocks, pgAdmin

Re: [Harbour] hash() in harbour

2009-06-03 Thread Xavi
Teo, Thanks for answering my question. Why it is not in Harbor? AFAIK any contrib Harbour can run on xHarbour. Not is forbidden the use of __XHARBOUR__ IMHO wxWidgets is a recognized GUI lib used in software such as Code::Blocks, pgAdmin III or wxScintilla. Is equally interesting that Qt and th

Re: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Przemyslaw Czerpak
On Wed, 03 Jun 2009, Pritpal Bedi wrote: Hi, > After compiling the coffee.prg as in original post with > Harbour and Xbase++ I see the noticeable difference. > Any programmer is able to fill the cup while coffee machine is still > preparing for the cofee. I mean Signal() | Wait() are not workin

Re: RE:[Harbour] Set Color Foreground and Background in TQLabel and others ?

2009-06-03 Thread CarozoDeQuilmes
No Problem could you complete the Brush class? I need add color font to GridWidgetItem: setForeground( pBrush ) Thanks and Regards CdQ On Wed, Jun 3, 2009 at 6:32 PM, Pritpal Bedi wrote: > > Hi > > > CarozoDeQuilmes wrote: > > > > Hi, Pritpal, any news about this ??? > > > > Last weekend hbm

Re: [Harbour] hash() in harbour

2009-06-03 Thread Pritpal Bedi
Hi Bruno Luciani wrote: > > I don't have any problem , Pritpal > > I ask the question to TEO in spanish because he posts in this language > Never mind. I just did not investigated who posted first. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/hash%28%29-in-h

Re: [Harbour] Bug in GTWVT ?

2009-06-03 Thread Pritpal Bedi
Hello marek.horodyski wrote: > > Why I'm return from gui back to GTWIN ? > :-( > According to this scenario GTWVT hangs : > - aplicaction start and correctly work. > - when i'm push ALT+TAB app lost focus, but as before work ok. > But when I'm again push ALT+TAB to return to app, and app h

Re: Re[Harbour] ady-to-use Distros - Synchronization

2009-06-03 Thread Viktor Szakáts
> So, the question pops up - how can we tell Harbour to copy only libs to > target folder? I'm assembling the distro manually so far. If it matures I can probably write a script which takes the mpkg_win.bat output .zips and transforms these into the final layout. >> Yes, this must be flexible to

[Harbour] hash() in harbour

2009-06-03 Thread Bruno Luciani
I don't have any problem , Pritpal I ask the question to TEO in spanish because he posts in this language Sorry if that was a problem . I send future messages in english only. Regards Bruno Luciani /// Bruno If you don't mind can

Re: Re[Harbour] ady-to-use Distros - Synchronization

2009-06-03 Thread Pritpal Bedi
Hello Szakáts Viktor wrote: > > If you mean the root installation folder, it's definitely not > fixed. I don't like any distros which forces users to use > a predefined (by us) location. We should allow users to choose. > > [ I believe that no app should rely on it's own location, > which also

Re: [Harbour] hash() in harbour

2009-06-03 Thread Pritpal Bedi
Bruno If you don't mind can you post messages in English only. Sorry, but majority of group members are unable to follow you. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/hash%28%29-in-harbour-tp23856568p23861603.html Sent from the Harbour - Dev mailing list ar

Re: [Harbour] hash() in harbour

2009-06-03 Thread Teo Fonrouge
On 03/06/2009, at 06:11 p.m., Xavi wrote: Teo, ¿Por qué no está en Harbour? Hola Xavi, Si te refieres a porque no esta en el directorio de harbour/contrib, la razon original es que esta libreria debe funcionar (y de hecho funciona) tanto en Harbour como en xHarbour. Asi que la puse en

Re: [Harbour] hash() in harbour

2009-06-03 Thread Xavi
Teo, ¿Por qué no está en Harbour? Un Saludo, Xavi Teo Fonrouge escribió: On 03/06/2009, at 01:18 p.m., Bruno Luciani wrote: Hola Teo , si algunas cosas estan claras y viendo los fuentes se interpretan , pero faltan muchisimos ejemplos y ademas si miras la documentacion de QT(incluso los prg

Re: Re[Harbour] ady-to-use Distros - Synchronization

2009-06-03 Thread Szakáts Viktor
Hi Pritpal, I am in the process of synchronizing yours and my distros to the point to make a user comfortable with Harbour. I have few points in to discuss: 1. You allow any folder in the root to place disto files. I need to know in advance what it will be. So is there any chance that th

Re[Harbour] ady-to-use Distros - Synchronization

2009-06-03 Thread Pritpal Bedi
Hello Viktor I am in the process of synchronizing yours and my distros to the point to make a user comfortable with Harbour. I have few points in to discuss: 1. You allow any folder in the root to place disto files. I need to know in advance what it will be. So is there any chance tha

Re: RE:[Harbour] Set Color Foreground and Background in TQLabel and others ?

2009-06-03 Thread Pritpal Bedi
Hi CarozoDeQuilmes wrote: > > Hi, Pritpal, any news about this ??? > Last weekend hbmk2 was broken so I could not push anythiing new. This weekend for sure. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/RE%3ASet-Color-Foreground-and-Background-in-TQLabel-and

Re: RE:[Harbour] Set Color Foreground and Background in TQLabel and others ?

2009-06-03 Thread CarozoDeQuilmes
Hi, Pritpal, any news about this ??? Thanks CdQ On Wed, May 27, 2009 at 2:03 PM, Pritpal Bedi wrote: > > Hello Bruno > > > Bruno Luciani wrote: > > > > But in QT Exist 2 classes that I don' t find in HBQT > > > > Qcolor and QPalette that controls colors in the majority of controls > > > > In

[Harbour] Bug in GTWVT ?

2009-06-03 Thread marek . horodyski
Why I'm return from gui back to GTWIN ? According to this scenario GTWVT hangs : - aplicaction start and correctly work. - when i'm push ALT+TAB app lost focus, but as before work ok. But when I'm again push ALT+TAB to return to app, and app has focus, in this moment app hangs. This often does not

Re: [Harbour] Basic question

2009-06-03 Thread CarozoDeQuilmes
Ok, thanks !!! CdQ On Wed, Jun 3, 2009 at 3:08 PM, Pritpal Bedi wrote: > > Hi > > > CarozoDeQuilmes wrote: > > > > Hi Pritpal, thanks, it run fine for me ! but.. (always have a but > > ;-)) how create an object from pointer to object ??? > > > > Sample: > > > > Local oDesktop , pRect ,

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

2009-06-03 Thread vszakats
Revision: 11204 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11204&view=rev Author: vszakats Date: 2009-06-03 19:36:22 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] hash() in harbour

2009-06-03 Thread Teo Fonrouge
On 03/06/2009, at 01:18 p.m., Bruno Luciani wrote: Hola Teo , si algunas cosas estan claras y viendo los fuentes se interpretan , pero faltan muchisimos ejemplos y ademas si miras la documentacion de QT(incluso los prg fuente ) vas a ver que el argumento de algunas funciones , como por ejemplo

[Harbour] Re: Ubuntu adventure

2009-06-03 Thread Angel Pais
Yhank you !! It worked. I'm preparing a little tutorial about how to svn in UBUNTU and SUSE to add to INSTALL file. Teo Fonrouge escribió: just type in the harbour dir: ./mpkg_deb.sh Once that you have the package created harbour.deb you can install it with: sudo dpkg -i harbour

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

2009-06-03 Thread Angel Pais
Thank You !!! ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] hash() in harbour

2009-06-03 Thread Bruno Luciani
Hola Teo , si algunas cosas estan claras y viendo los fuentes se interpretan , pero faltan muchisimos ejemplos y ademas si miras la documentacion de QT(incluso los prg fuente ) vas a ver que el argumento de algunas funciones , como por ejemplo setear los headers de lo que parece ser un grid QTable

Re: [Harbour] Basic question

2009-06-03 Thread Pritpal Bedi
Hi CarozoDeQuilmes wrote: > > Hi Pritpal, thanks, it run fine for me ! but.. (always have a but > ;-)) how create an object from pointer to object ??? > > Sample: > > Local oDesktop , pRect , oRect > oDesktop := QDesktopWidget():new() > pRect:= oDesktop:screenGeometry( -1 ) > >

Re: [Harbour] Basic question

2009-06-03 Thread CarozoDeQuilmes
Hi Pritpal, thanks, it run fine for me ! but.. (always have a but ;-)) how create an object from pointer to object ??? Sample: Local oDesktop , pRect , oRect oDesktop := QDesktopWidget():new() pRect:= oDesktop:screenGeometry( -1 ) pRect --->oRect Thanks and regards Cd

[Harbour] Re: Escape a string

2009-06-03 Thread Lorenzo Fiorini
On Wed, Jun 3, 2009 at 4:44 PM, Lorenzo Fiorini wrote: > Is there already a function that escape a string using the following schema: > > char >    any-Unicode-character- >        except-"-or-\-or- >        control-character >    \" >    \\ >    \/ >    \b >    \f >    \n >    \r >    \t >    \u

Re: [Harbour] Release packages: 1.1.0dev [20090530]

2009-06-03 Thread Viktor Szakáts
On Wed, Jun 3, 2009 at 6:01 PM, Massimo Belgrano wrote: > I notice that is not included libmysql.lib > Is right? Of course. Such implibs cannot be distributed since I cannot be sure if they'd match the installed client version on the users' machines. These have to be built separately and locally.

Re: [Harbour] Release packages: 1.1.0dev [20090530]

2009-06-03 Thread Massimo Belgrano
I notice that is not included libmysql.libIs right? I notice that are not included c:\harbour\contriib\rddsql\sddmy\tests c:\harbour\contriib\rddsql\sddodbc\tests c:\harbour\contriib\rddsql\sddmy\tests and in future (if done) c:\harbour\contriib\rddsql\sddfb\tests c:\harbour\contriib\rddsql\sddpg\

Re: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Pritpal Bedi
Hello Przemek After compiling the coffee.prg as in original post with Harbour and Xbase++ I see the noticeable difference. Any programmer is able to fill the cup while coffee machine is still preparing for the cofee. I mean Signal() | Wait() are not working as in Xbase++. ::coffeeIsReady:sign

Re: [Harbour] hash() in harbour

2009-06-03 Thread Przemyslaw Czerpak
On Wed, 03 Jun 2009, Mindaugas Kavaliauskas wrote: > or if you do not want to pollute functionality of all hashes, you can use > HashObject() below for one hash that needs object functionality: > #include "hbclass.ch" > PROC MAIN() >LOCAL hValue := HashObject() >hValue:VAR1 := 123.45 >

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

2009-06-03 Thread Przemyslaw Czerpak
On Tue, 02 Jun 2009, Angel Pais wrote: Hi, > While you are at it... > Would it be possible to implement this in Harbour ? > > Class > Abstract() > Syntax > :noMethod( cMessage, [,...] ) --> xReturn > Parameters > > The message send to the object. > > The parameters passed by the callee to the

Re: [Harbour] Printing Problem

2009-06-03 Thread Przemyslaw Czerpak
On Wed, 03 Jun 2009, Sudip Bhattacharyya wrote: Hi, > >Maybe I'm wrong but I have serious doubts about it. > > SET PRINTER TO > >closes printer file and should always flush the buffers. > >I rather think it was a typo in your tests or sth like that. > You are ABSOLUTELY CORRECT :-) > Problem wa

Re: [Harbour] Printing Problem

2009-06-03 Thread Przemyslaw Czerpak
On Wed, 03 Jun 2009, Szak�ts Viktor wrote: > > I used the commands in following sequence: > > SET PRINTER TO Here printer file is closed. > > SET DEVICE TO SCREEN Only marks that next DEVOUT() should be redirected to screen. Has no effect on output and open handles. > > Set(_SET_PRINTFILE, "")

Re: [Harbour] Printing Problem

2009-06-03 Thread Sudip Bhattacharyya
Hello Przemek >Maybe I'm wrong but I have serious doubts about it. > SET PRINTER TO >closes printer file and should always flush the buffers. >I rather think it was a typo in your tests or sth like that. You are ABSOLUTELY CORRECT :-) Problem was due to sequence of commands. My final "problem

[Harbour] Escape a string

2009-06-03 Thread Lorenzo Fiorini
Is there already a function that escape a string using the following schema: char any-Unicode-character- except-"-or-\-or- control-character \" \\ \/ \b \f \n \r \t \u four-hex-digits best regards, Lorenzo ___

Re: [Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Mindaugas Kavaliauskas
Viktor Szakáts wrote: uuid lib is linked by hbmk2, and these symbols are present in that lib, so it's probably some symbol declaration problems on C level, but I don't know the answer. Mindaugas, can you improve olecore.c ? To be precise in pointing at the faulty in my guess, this is IMO rathe

Re: [Harbour] hash() in harbour

2009-06-03 Thread Teo Fonrouge
On 02/06/2009, at 10:02 p.m., Bruno Luciani wrote: TEO Estoy intentando trabajar en HBQT y una de las cosas que parecen requerirse es la utilizacion de punteros como en C Pero descononosco como utilizarlos o crearlos en Harbour Alguna idea que me pueda ayudar ? Hola Bruno, Hasta donde pue

Re: [Harbour] Printing Problem

2009-06-03 Thread Viktor Szakáts
Thank you for posting your results. Brgds, Viktor On Wed, Jun 3, 2009 at 4:14 PM, Sudip Bhattacharyya wrote: > > Hello Victor, > > I am now confirmed about my doubt :-) > > My final "problem free" demo sample is:- > > FUNCTION Main() >   LOCAL nChar := ASC( "A" ) >   CLEAR SCREEN >   SET DEVICE

Re: [Harbour] Printing Problem

2009-06-03 Thread Przemyslaw Czerpak
On Wed, 03 Jun 2009, Sudip Bhattacharyya wrote: Hi, > >And probably only this line was important to force flushing print buffer > >before key press. > >Try to remove from your code: > > SET PRINTER TO DEMO.TXT// this line is added > >and: > > ! COPY DEMO.TXT PRN

Re: [Harbour] Printing Problem

2009-06-03 Thread Sudip Bhattacharyya
Hello Victor, I am now confirmed about my doubt :-) My final "problem free" demo sample is:- FUNCTION Main() LOCAL nChar := ASC( "A" ) CLEAR SCREEN SET DEVICE TO PRINTER SETPRC( 0, 0 ) DO WHILE nChar <= ASC( "Z" ) @ PROW() + 1, 0 SAY REPLICATE( CHR( nChar ), 75 ) nCha

Re: [Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Viktor Szakáts
>>uuid lib is linked by hbmk2, and these symbols are present in >>that lib, so it's probably some symbol declaration problems on >>C level, but I don't know the answer. > > Mindaugas, can you improve olecore.c ? To be precise in pointing at the faulty in my guess, this is IMO rather some special p

Re: [Harbour] Printing Problem

2009-06-03 Thread Viktor Szakáts
> I used the commands in following sequence: > > SET PRINTER TO > SET DEVICE TO SCREEN > Set(_SET_PRINTFILE, "")  // This line added > // !COPY DEMO.TXT PRN  // This line I commented while testing now Okay, thank you, that might explain the difference. This may signal a Harbour problem, but I can

RE: [Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Viktor Szakáts [mailto:harbour...@syenar.hu] >Sent: Wednesday, June 03, 2009 1:18 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] Hbmk2 and -gui/-std > >> I use >> hbmk2 homar.prg braki.prg -lhbct -lhomar -lhbwin -gui And/or >> hbmk2 homar.pr

Re: [Harbour] Printing Problem

2009-06-03 Thread Sudip Bhattacharyya
Hello Massimo Belgrano, > can you write and article about your experience i will translate it in > itallian for upcoming italian harbour cominity > Thanks in advance Yes, of course. To be more specific, shall I write it about this printing problem? > http://www.gio22.com/harbour/ > i invite eve

Re: [Harbour] Printing Problem

2009-06-03 Thread Sudip Bhattacharyya
Hi Viktor, > It's still a little bit strange as 'Set( _SET_PRINTFILE, "" )' is the > exact > synonym of 'SET PRINTER TO', so I wonder what else could have > caused the difference in your results. I used the commands in following sequence: SET PRINTER TO SET DEVICE TO SCREEN Set(_SET_PRINTFILE,

Re: [Harbour] Printing Problem

2009-06-03 Thread Massimo Belgrano
can you write and article about your experience i will translate it in itallian for upcoming italian harbour cominity Thanks in advance http://www.gio22.com/harbour/ i invite everybody that have also incomplete information regarding harbour share here or mail me 2009/6/3 Sudip Bhattacharyya : > >

Re: [Harbour] Printing Problem

2009-06-03 Thread Viktor Szakáts
Hi Sudip, Glad it works! It's still a little bit strange as 'Set( _SET_PRINTFILE, "" )' is the exact synonym of 'SET PRINTER TO', so I wonder what else could have caused the difference in your results. Brgds, Viktor On Wed, Jun 3, 2009 at 3:26 PM, Sudip Bhattacharyya wrote: > > Hello Victor, >

[Harbour] MyAlert() Problem Solved

2009-06-03 Thread Sudip Bhattacharyya
Hello Pritpal, I just solved MyAlert() function problem. Problem was :- after returning from MyAlert() function, screen shows some unexpected results. I used a simple trick:- Function MyAlert( cMessage, aOptions, cCaption, nInit, nTime ) LOCAL lRet, lScr := savescreen() lRet := Vou_AlertD

[Harbour] Best extension for future visual version of hbmk

2009-06-03 Thread Massimo Belgrano
hbmk is strong and with the editing cycle it complete The cycle is edit, compile, run & debug Wich way will be best Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.Scintilla have features

Re: [Harbour] Printing Problem

2009-06-03 Thread Sudip Bhattacharyya
Hello Victor, This the best solution I used :- Set( _SET_PRINTFILE, "" ) And everything is ok :-) (No pause of printing before quitting of program) This am waiting for this solution for a long time. Thank you all again :-) With best regards. Sudip -- View this message in context: http:/

Re: [Harbour] Printing Problem

2009-06-03 Thread Sudip Bhattacharyya
Hi, >And probably only this line was important to force flushing print buffer >before key press. >Try to remove from your code: > SET PRINTER TO DEMO.TXT// this line is added >and: > ! COPY DEMO.TXT PRN// this line is added >leaving only 'SET PRINTER TO' a

Re: [Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Viktor Szakáts
> I use > hbmk2 homar.prg braki.prg -lhbct -lhomar -lhbwin -gui > And/or > hbmk2 homar.prg braki.prg -lhbct -lhomar -lhbwin -std > > Homar.prg and braki.prg are standard harbour code. > In small examle work ok. :( > I try to check the evening in home. Thanks. Code would be essential as without it

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

2009-06-03 Thread vszakats
Revision: 11203 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11203&view=rev Author: vszakats Date: 2009-06-03 11:36:18 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 13:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat ! Fi

Re: [Harbour] What i have miss compiling rddsql/mysql test with hbmk2?

2009-06-03 Thread Massimo Belgrano
I have follow file can you guide me right lib for mingw,msvc,bcc? c:\devl\MySQL51\lib\opt 01/04/2009 15.53 2.359.296 libmysql.dll 01/04/2009 15.5334.876 libmysql.lib 01/04/2009 15.53 6.631.424 libmysql.pdb 01/04/2009 15.53 7.848.376 mysqlclient.lib 01/04/200

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

2009-06-03 Thread Massimo Belgrano
Sorrystill persist error or how can i compile libmysql.a? c:\harbour\contrib\rddsql\sddmy\tests>hbmk2 test1 hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg hbmk: Processing: sddmy.hbc Harbour 1.1.0dev (Rev. 11201) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling '

Re: [Harbour] What i have miss compiling rddsql/mysql test with hbmk2?

2009-06-03 Thread Mindaugas Kavaliauskas
Massimo Belgrano wrote: i not found mysql so try add lib hbmysql but without success So, you should have to install mysql client, if you do not have libmysql. Regards, Mindaugas ___ Harbour mailing list Harbour@harbour-project.org http://lists.harb

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

2009-06-03 Thread vszakats
Revision: 11202 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11202&view=rev Author: vszakats Date: 2009-06-03 11:20:08 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sddmy/test

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Massimo Belgrano
2009/6/3 Alexander S.Kresin > One reason will be that new harbour version is better and more stable and >> more powerfull >> > > Harbour versions before 1.00 was quite stable, too. I, for example, worked > with the code, dated by 2008-01-25 ( don't know, what version it is :) ) > till last mont

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Viktor Szakáts
>  Harbour versions before 1.00 was quite stable, too. I, for example, worked > with the code, dated by 2008-01-25 ( don't know, what version it is :) ) > till last month and have migrated to 1.01 because ... I don't know why :), > but not due to problems or limitations with an old one. > >> In cor

Re: [Harbour] What i have miss compiling rddsql/mysql test with hbmk2?

2009-06-03 Thread Massimo Belgrano
I created with follow command SET HB_DIR_MYSQL=c:\devl\MySQL51 SET HB_INC_MYSQL=c:\devl\MySQL51\include SET HB_COMPILER=mingw SET HB_ARCHITECTURE=win SET PATH=C:\devl\MinGWTDM\bin;%PATH% call make_gnu.bat %1 %2 > log-%HB_COMPILER%.txt 2>&1 in sddmy.hbc contain libs=rddsql sddmy and not mysql.lib

RE: [Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Viktor Szakáts [mailto:harbour...@syenar.hu] >Sent: Wednesday, June 03, 2009 10:55 AM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] Hbmk2 and -gui/-std > >It's possible that owatcom targets still have some problems, >see this code part still

[Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Alexander S.Kresin
One reason will be that new harbour version is better and more stable and more powerfull Harbour versions before 1.00 was quite stable, too. I, for example, worked with the code, dated by 2008-01-25 ( don't know, what version it is :) ) till last month and have migrated to 1.01 because ... I

Re: [Harbour] What i have miss compiling rddsql/mysql test with hbmk2?

2009-06-03 Thread Mindaugas Kavaliauskas
c:/harbour/mingw/lib/libsddmy.a(mysqldd.o):mysqldd.c:(.text+0xd9): undefined ref erence to `mysql_i...@4' libmysql is missing. Regards, Mindaugas ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Viktor Szakáts
Many thanks, I was sure you'll have some idea for the empty __HARBOUR__ macro :) This makes manual HB_PRE10 unnecessary. Brgds, Viktor On Wed, Jun 3, 2009 at 12:31 PM, Przemyslaw Czerpak wrote: > On Wed, 03 Jun 2009, Alexander S.Kresin wrote: > > Hi, > >>> Two macro solutions and better (automa

Re: [Harbour] Method call

2009-06-03 Thread Mindaugas Kavaliauskas
Mindaugas Kavaliauskas wrote: is there a way to call function as a method? Ex.: Hi, I found one, it's HB_EXECFROMARRAY(), but it's GPF. Here is the whole idea: #include "hbclass.ch" PROC MAIN() LOCAL hValue := HashObject() hValue:VAR1 := 123.45 hValue:VAR2 := DATE() ? hValue:VAR

[Harbour] What i have miss compiling rddsql/mysql test with hbmk2?

2009-06-03 Thread Massimo Belgrano
What i have miss compiling rddsql/mysql test with hbmk2? c:\harbour\contrib\rddsql\sddmy\tests>hbmk2 test1.prg hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg hbmk: Processing: sddmy.hbc Harbour 1.1.0dev (Rev. 11190) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compilin

[Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Alexander S.Kresin
It can be quite easy resolved for both C .prg preprocesors. For C code instead of: #if defined( __HARBOUR__ ) && __HARBOUR__ > 0x010100 simply use: #if defined( __HARBOUR__ ) && __HARBOUR__ - 0 > 0x010100 and for .prg code instead of: #if defined( __HARBOUR__ ) .and. __HARBOUR__ > 0x010

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

2009-06-03 Thread vszakats
Revision: 11201 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11201&view=rev Author: vszakats Date: 2009-06-03 10:26:40 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 12:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * tests/langapi.prg * tes

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Przemyslaw Czerpak
On Wed, 03 Jun 2009, Alexander S.Kresin wrote: Hi, >> Two macro solutions and better (automatic) replacements: >> --- >> #if ( defined( HARBOUR_VER_AFTER_101 ) ) >> -> >> #if defined( __HARBOUR__ ) && __HARBOUR__ > 0x010100 >> --- >> --- >> #elif defined( HARBOUR_VER_BEFORE_100 ) >> -> >> #if ! d

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Massimo Belgrano
One reason will be that new harbour version is better and more stable and more powerfullThink one user that want use a letodb same year old is safe? In corner of letodb suggestion Is possible think a letodb server version as a service? letodb supoport all c compiler/platform supported by harb

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

2009-06-03 Thread Enrico Maria Giordano
-Messaggio Originale- Da: A: Data invio: mercoledì 3 giugno 2009 10.31 Oggetto: [Harbour] SF.net SVN: harbour-project:[11197] trunk/harbour 2009-06-03 12:30 UTC+0300 Alexander Kresin * utils/hbformat/hbformat.prg ! Warning fixed. Thank you. EMG -- EMAG Software Homepage:

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

2009-06-03 Thread vszakats
Revision: 11200 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11200&view=rev Author: vszakats Date: 2009-06-03 09:36:39 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * examples/rl/readme.txt

Re: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Viktor Szakáts
>>There are detailed articles about the internals, and the >>details aren't very simple or straighforward. Probably similar >>could be done with Harbour, but it's out of the scope of the >>core language and it's a different topic than multithreading. > > Thread in Harbour is eat much less memory th

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

2009-06-03 Thread vszakats
Revision: 11199 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11199&view=rev Author: vszakats Date: 2009-06-03 09:13:36 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 11:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * examples/uhttpd/readme.t

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

2009-06-03 Thread vszakats
Revision: 11198 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11198&view=rev Author: vszakats Date: 2009-06-03 09:07:43 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * examples/rl/rl.hbp +

RE: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Viktor Szakáts [mailto:harbour...@syenar.hu] >Sent: Wednesday, June 03, 2009 10:25 AM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] MT - Xbase++ - A Code Snippet ... >There are detailed articles about the internals, and the >details aren't

Re: [Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Viktor Szakáts
It's possible that owatcom targets still have some problems, see this code part still in hbmk2.prg: --- IF hbmk[ _HBMK_lGUI ] AAdd( hbmk[ _HBMK_aOPTC ], "-bg" ) /* TOFIX */ AAdd( hbmk[ _HBMK_aOPTL ], "RU NAT" ) /* TOFIX */ AAdd( hbmk[ _HBMK_aOPTL ], "SY

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Alexander S.Kresin
This needs 'HB_PRE10' to be #defined for pre-Harbour 1.0.0 releases: --- #if defined( __XHARBOUR__ ) /* code for xhb */ #endif #if ! defined( __XHARBOUR__ ) && defined( __HARBOUR__ ) /* code for harbour */ #endif #if ! defined( __XHARBOUR__ ) && defined( __HARBOUR__ ) && defined( HB_PRE10

[Harbour] Hbmk2 and -gui/-std

2009-06-03 Thread Horodyski Marek (PZUZ)
For as long as I worked without -gui switch, everything was ok. Then I was work with the-gui, and the application was with GTWVT, and too all was ok.. But now, when I link without -gui (want to go back to character mode), or with -std switch, app has allways two window, one text console and two WV

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

2009-06-03 Thread alkresin
Revision: 11197 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11197&view=rev Author: alkresin Date: 2009-06-03 08:31:57 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 12:30 UTC+0300 Alexander Kresin * utils/hbformat/hbformat.prg ! Warning fix

Re: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Viktor Szakáts
>>Both single-thread and multi-thread application is one >>process. You should look to "Threads" column to see the number >>of running threads. > > When I see on Chrome, it has one app and multi process. Harbour app is > one proces and multi app. > On Win of course. That is because you picked one

RE: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-03 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] >Sent: Tuesday, June 02, 2009 11:20 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] MT - Xbase++ - A Code Snippet ... >Both single-thread and multi-thread application is one >process. You

[Harbour] Warning

2009-06-03 Thread Enrico Maria Giordano
../../hbformat.prg(599) Warning W0032 Variable 'NPOSCOMMENT' is assigned but not used in function 'CODEFORMAT_REFORMAT(0)' No code generated. mingw32-make.exe[3]: *** [hbformat.c] Error 1 mingw32-make.exe[3]: Leaving directory `E:/HARBOUR_CVS/harbour/utils/hbformat/win/bcc' mingw32-make.exe[2

Re: [Harbour] Re: OFF: letodb suggestions

2009-06-03 Thread Viktor Szakáts
You're right, __HARBOUR__ was defined before, so how about this modified version which requires manual macro only for pre 1.0.0 Harbour version (which aren't probably that widespread anymore): This needs 'HB_PRE10' to be #defined for pre-Harbour 1.0.0 releases: --- #if defined( __XHARBOUR__ ) /

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

2009-06-03 Thread alkresin
Revision: 11196 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11196&view=rev Author: alkresin Date: 2009-06-03 07:23:40 + (Wed, 03 Jun 2009) Log Message: --- 2009-06-03 11:25 UTC+0300 Alexander Kresin * utils/hbformat/hbformat.prg ! Bug fixed.