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

2009-04-16 Thread sygecom
Hi Viktor, It worked, again thank you. Leonardo Machado Viktor Szakáts wrote: > > Hi Leonardo, > Try to use MAIN as the main function, or you can try using -main=MYENTRY > hbmk2 option to set it to a different name. > > Thanks for the other bug report, it should be fixed now. > > Brgds, > V

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

2009-04-16 Thread Viktor Szakáts
Hi Leonardo, Try to use MAIN as the main function, or you can try using -main=MYENTRY hbmk2 option to set it to a different name. Thanks for the other bug report, it should be fixed now. Brgds, Viktor On Fri, Apr 17, 2009 at 7:09 AM, sygecom wrote: > > Hi Viktor, > > Well I noticed that using

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

2009-04-16 Thread vszakats
Revision: 10876 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10876&view=rev Author: vszakats Date: 2009-04-17 06:24:23 + (Fri, 17 Apr 2009) Log Message: --- 2009-04-17 08:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.prg

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

2009-04-16 Thread sygecom
Hi Viktor, Well I noticed that using the *. PRG CORRING it leaves my file. PRG FUNC MAIN which is almost the end of the list, and using the hbmk2 with all file names. PRG file my main column is on the list of files . PRG and compiles without problems. Now, how do I set which file is what is FUNC

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

2009-04-16 Thread sygecom
Hi Viktor, I'm trying to compile using the command below and give this error: hbmk2 -gtgui -inc -st -trace -oSYSTEM *.prg SYSTEMP.RC It is returning me the error below: Error BASE/1075 Argument error: > Called from FINDNEWERHEADERS(3064) Called from HBMK(2449) Called from MAIN(173) However, i

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

2009-04-16 Thread Rossine
Hi Przemek, Yes I understood your explanation and it works :). But this cycle of 100.000, is possible set this or the GC is about who determines how much should the cycle? best regards, Rossine. -- View this message in context: http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10873--tr

Re: [Harbour] DBF to migrate from PostGreSQL

2009-04-16 Thread Fredy Gonzales
Hope that some day someone will be encouraged to link drivers ZeosDBO with Harbour FG - Original Message - From: "Massimo Belgrano" To: "Harbour Project Main Developer List." Sent: Thursday, April 16, 2009 5:44 PM Subject: Re: [Harbour] DBF to migrate from PostGreSQL SQLWIN - a

Re: [Harbour] DBF to migrate from PostGreSQL

2009-04-16 Thread Massimo Belgrano
SQLWIN - a free (open source) RDD for SQL by antonio linares propotipe http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12646&sid=e966c6aa40788313b672aeb83e18b989 Mediator free and commercial version http://www.otc.pl/index.asp?s=14&l=2 2009/4/17 sygecom : > > Hello Massimo, > > Thanks fo

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

2009-04-16 Thread Przemyslaw Czerpak
On Thu, 16 Apr 2009, Rossine wrote: Hi, > I include in my compilation of the flow "set HB_USER_CFLAGS=-DHB_GC_AUTO", > down again harbour svn (10873) and generated again, but see the example > below: [...] > ...still consuming memory in these lines: > [CODE] > @11, 01 say "1001 = Memory used (by

Re: [Harbour] DBF to migrate from PostGreSQL

2009-04-16 Thread sygecom
Hello Massimo, Thanks for the tip, but I know the bill Sqllib execelente and I think a project, but I'm looking for any alternative FREE, FREE version of Sqllib and has no support for PostgreSQL. You have some other alternative? Leonardo Machado Massimo Belgrano-3 wrote: > > You can also try 

Re: [Harbour] DBF to migrate from PostGreSQL

2009-04-16 Thread Massimo Belgrano
You can also try SQL LIB RDD http://www.sqllib.com.br/v4/ 2009/4/16 sygecom > > Hello to All, > With the help of colleagues here in the Forum managed to migrate from > xHarbour Harbor using the BCC 5.5.1, now my next step is to migrate from DBF > PostGreSQL, I took a look at the options available

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

2009-04-16 Thread vszakats
Revision: 10875 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10875&view=rev Author: vszakats Date: 2009-04-16 21:30:09 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.prg

[Harbour] DBF to migrate from PostGreSQL

2009-04-16 Thread sygecom
Hello to All, With the help of colleagues here in the Forum managed to migrate from xHarbour Harbor using the BCC 5.5.1, now my next step is to migrate from DBF PostGreSQL, I took a look at the options available at Harbor that is: The RDD SQLMIX, but is just one example of use in the \ CONTRIB \ R

[Harbour] QT - Few Issues Resolved

2009-04-16 Thread Pritpal Bedi
Hi All >1) How can width of fonts can be managed as in Windows ? Resolved. Actually this can be achieved via oFont.setStretch( nFactor ). Though tricky but doable. >3) How to query keyboard states ? Resolved. qApp->keyboardModifiers() did the trick. Though it is not exactly calculate all artif

Re: [Harbour] Re: harbour-project-Patches-2741652 - MDX

2009-04-16 Thread Przemyslaw Czerpak
On Thu, 16 Apr 2009, Chen Kedem wrote: Hi, > > There was a question: Does Harbour support MDX Index? > A quick grep show no relevant signs of MDX in the repository. > I'll close the support request. Harbour has native support for: 1. NTX with many extensions like multitag support (CTX is CLIP),

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

2009-04-16 Thread Rossine
Hello Przemek, I include in my compilation of the flow "set HB_USER_CFLAGS=-DHB_GC_AUTO", down again harbour svn (10873) and generated again, but see the example below: [CODE] #include "hbmemory.ch" #define CRLF chr(13) + chr(10) function main local a , b:= 0 cls while .t. b += 1

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

2009-04-16 Thread druzus
Revision: 10874 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10874&view=rev Author: druzus Date: 2009-04-16 19:29:16 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 21:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdd

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

2009-04-16 Thread Vailton Renato
I agree. But I am waiting some time for the tool is well stabilized in their resources to get the maximum benefit. = D ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] More warnigs requiring attention...

2009-04-16 Thread Przemyslaw Czerpak
On Thu, 16 Apr 2009, Vailton Renato wrote: > The Pascal compiler from Borland/Embarcadero also has this annoying behavior. So it also should be fixed but it's not Harbour problem ;-) best regards, Przemek ___ Harbour mailing list Harbour@harbour-project

[Harbour] Join to harbour group on facebook

2009-04-16 Thread Massimo Belgrano
I invite everybody to join harbour group on facebook http://www.facebook.com/groups/edit.php?customize&gid=48795263775#/group.php?gid=48795263775 This is a usergroup for people who apreciate Harbour & Clipper Harbour is a modern, fast, open source, computer programming language. It is a Clipper-c

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

2009-04-16 Thread Przemyslaw Czerpak
On Thu, 16 Apr 2009, toni...@fwi wrote: Hi, > >+ added optional support for automatic GC activation. > Thanks a lot for this. > FWH call hb_gcAll() when a dialog end. Can we use automatic GC > activation in FWH to avoid hb_gcAll() call ? Yes, you can but single GC call bound with some user i

Re: [Harbour] More warnigs requiring attention...

2009-04-16 Thread Vailton Renato
The Pascal compiler from Borland/Embarcadero also has this annoying behavior. Best regards, Vailton Renato ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2009-04-16 Thread Massimo Belgrano
i think that will be interesting a xDevStudioHarbour special version with: able Read & write directly *.hbm make Process based on hbmk2 and naturally English Version xdevstudio give what that hbmk can't give Syntax High Light, Code Completion for having the productivity of edit-compile-run cicle

Re: [Harbour] More warnigs requiring attention...

2009-04-16 Thread Przemyslaw Czerpak
On Thu, 16 Apr 2009, Ranier Vilela wrote: > cl.exe -nologo -I. -I../../../../include -Gs -TP -Wall -wd4127 -Ot2b1 > -EHs-c- -MT -c ../../set.c -Foset.obj > set.c > ../../set.c(1321) : warning C4061: enumerator 'HB_SET_TIMEFORMAT' in switch > of enum 'HB_set_enum' is not explicitly handled by

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

2009-04-16 Thread Vailton Renato
I had one ugly additional tool to work with hbmk2 to achieve these results. Congratulations by Viktor hbmk2 is good! ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] More warnigs requiring attention...

2009-04-16 Thread Viktor Szakáts
I'll fix some of the macro problems, but the enum is false alarm, the code logic doesn't require to list all the values. Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] RE: Help compiling HBQT and samples

2009-04-16 Thread Massimo Belgrano
batch must be in c:\harbour and you must modify set HB_INSTALL_PREFIX=/c/hb-%HB_COMPILER% 2009/4/16 Bruno Luciani > > Massimo where you use this script ? I try in Msys but don't work > of course modifying the paths but Msys give an error I transcript below > > > /

Re: [Harbour] Question: Can submit huge file text to Harbour developers list?

2009-04-16 Thread Viktor Szakáts
> > I´ve been searched about unsave conversion from 'FARPROC' and the > solution, apparently is > > #pragma warning ( disable : 4191 ) */// unsafe conversion from .../* > > Ironic! Indeed :) So we can add -wd4191 to our default options and forget about this. But, I'm afraid this may disable als

[Harbour] RE: Help compiling HBQT and samples

2009-04-16 Thread Bruno Luciani
Massimo where you use this script ? I try in Msys but don't work of course modifying the paths but Msys give an error I transcript below / set HB_INC_QT=/c/devl/Qt/2009.01/qt/include set PATH=C:\devl\msys\1.0.11\bin;C:\devl\MinGW-432\bin;%PATH% set HB_COMP

[Harbour] More warnigs requiring attention...

2009-04-16 Thread Ranier Vilela
cl.exe -nologo -I. -I../../../../include -Gs -TP -Wall -wd4127 -Ot2b1 -EHs-c- -MT -c ../../fm.c -Fofm.obj fm.c e:\xharbour\harbour-1.1.0\source\vm\dlmalloc.c(2160) : warning C4668: 'DEBUG' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' e:\xharbour\harbour-1.1.0\s

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

2009-04-16 Thread toni...@fwi
>+ added optional support for automatic GC activation. Hi Przemek, Thanks a lot for this. FWH call hb_gcAll() when a dialog end. Can we use automatic GC activation in FWH to avoid hb_gcAll() call ? TIA an dbest regards, Toninho. __ Faça liga

Re: [Harbour] Question: Can submit huge file text to Harbour developers list?

2009-04-16 Thread Ranier Vilela
Viktor Szakáts escreveu: Well, we can switch to -Wall if that helps finding more potential problems in Harbour. Most of these warnings are known to me and I hope we can deal with it as part of the introduction of (and switching to) our new Harbour types. On many occasions such switch could so

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

2009-04-16 Thread Massimo Belgrano
I like this option of hbmk2 too 2009/4/16 sygecom > > Hello Viktor, > Very good this new option, this will help much, I still have some projects > to compile with the harbour where he has many files .PRG > > Leonardo Machado > > > vszakats wrote: > > > > Revision: 10871 > > > > > http://harbour-

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

2009-04-16 Thread druzus
Revision: 10873 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10873&view=rev Author: druzus Date: 2009-04-16 15:48:13 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 17:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/gar

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

2009-04-16 Thread sygecom
Hello Viktor, Very good this new option, this will help much, I still have some projects to compile with the harbour where he has many files .PRG Leonardo Machado vszakats wrote: > > Revision: 10871 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10871&view=rev >

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

2009-04-16 Thread vouchcac
Revision: 10872 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10872&view=rev Author: vouchcac Date: 2009-04-16 14:53:18 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 00:37 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/gtqtc/gtqtc

[Harbour] Re: QT - ADDON - Alert()

2009-04-16 Thread Angel Pais
Thanks Xavi I prefer the .prg version =) It's portable and we are clipperheads, aren`t we ? It's also a good example of qt using from .prg code Regards Angel Xavi escribió: Thanks Vailton, I think it can also be a good example of working with hbqt and I translated to prg. Just as exercise

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

2009-04-16 Thread vszakats
Revision: 10871 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10871&view=rev Author: vszakats Date: 2009-04-16 14:08:11 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 16:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.prg

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

2009-04-16 Thread vszakats
Revision: 10870 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10870&view=rev Author: vszakats Date: 2009-04-16 13:48:31 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 15:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] Re: harbour-project-Patches-2741652 - MDX

2009-04-16 Thread Massimo Belgrano
This is the Structure of Multiple Index files (*.mdx) http://www.clicketyclick.dk/databases/xbase/format/mdx.html#MDX_STRUCT afaik no rdd is aivable 2009/4/16 Chen Kedem : > On 08 April 2009 10:10 I wrote: >> There was a question: Does Harbour support MDX Index? > > A quick grep show no relevant

[Harbour] Re: harbour-project-Patches-2741652 - MDX

2009-04-16 Thread Chen Kedem
On 08 April 2009 10:10 I wrote: > There was a question: Does Harbour support MDX Index? A quick grep show no relevant signs of MDX in the repository. I'll close the support request. Chen. ___ Harbour mailing list Harbour@harbour-project.org http://lis

Re: [Harbour] Question: Can submit huge file text to Harbour developers list?

2009-04-16 Thread Viktor Szakáts
Well, we can switch to -Wall if that helps finding more potential problems in Harbour. Most of these warnings are known to me and I hope we can deal with it as part of the introduction of (and switching to) our new Harbour types. On many occasions such switch could solve these warnings much more ef

Re: [Harbour] QT - ADDON - Alert()

2009-04-16 Thread Xavi
Thanks Vailton, I think it can also be a good example of working with hbqt and I translated to prg. Just as exercise of programming. :) Is this wrong? Xavi #define Qt_PlainText 0 #define QMessageBox_ActionRole 3 #define QMessageBox_Ok 1024 /*

Re: [Harbour] Question: Can submit huge file text to Harbour developers list?

2009-04-16 Thread Ranier Vilela
IMO, more warnings that need especialized attention: cl.exe -nologo -I. -I../../../../include -Gs -TP -Wall -wd4127 -Ot2b1 -EHs-c- -MT -c ../../hbpp.c -Fohbpp.obj hbpp.c e:\xharbour\harbour-1.1.0\source\pp\ppcore.c(520) : warning C4365: 'argument' : conversion from 'int' to 'size_t', signe

Re: [Harbour] Question: Can submit huge file text to Harbour developers list?

2009-04-16 Thread Ranier Vilela
Viktor Szakáts escreveu: Hi Ranier, The way to post large files is to upload it somewhere and post a link. MSVC compiler has lots of known warnings waiting a future cleanup, we're using -W4 warning level which is quite picky. You can override to -W3 to get a "clean" output. set HB_USER_CFLAG

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

2009-04-16 Thread Przemyslaw Czerpak
On Wed, 15 Apr 2009, vouch...@users.sourceforge.net wrote: Hi, > * harbour/contrib/gtqtc/gtqtc.cpp > * harbour/contrib/gtqtc/gtqtc.h > * harbour/contrib/gtqtc/moc_gtqtc.cpp > * harbour/contrib/gtqtc/tests/demoqtc.prg > ! More complete. > No more (IMO) Windows specific calls. >

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

2009-04-16 Thread vszakats
Revision: 10869 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10869&view=rev Author: vszakats Date: 2009-04-16 10:33:36 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] QT - Add-On Library

2009-04-16 Thread Vailton Renato
ok, sorry for the inconvenience... =D 2009/4/15 Pritpal Bedi : > > Thanks Renato > > > Vailton Renato wrote: >> >> Ok, done. >> > > But you created a new thread. > I wish to club all such contributions in one thread > and which I wished to be the current one replying to > root message. > > Anyhow

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

2009-04-16 Thread vouchcac
Revision: 10868 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10868&view=rev Author: vouchcac Date: 2009-04-16 07:42:49 + (Thu, 16 Apr 2009) Log Message: --- 2009-04-16 00:37 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/gtqtc/gtqtc

[Harbour] QT - Few Unresolved Issues

2009-04-16 Thread Pritpal Bedi
Hello All Here are some unresolved ( so far ) issues with QT: 1) How can width of fonts can be managed as in Windows ? 2) How to create and manage console caret ? 3) How to query keyboard states ? I have tried tough on these solutions but have been failure so far. After these points are reso

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

2009-04-16 Thread Alex Strickland
Viktor Szakáts wrote: I've found it. BCC has it's own PCRE in it's RTL lib, and hbmk2 (after recent change when switching to separate link command) is including it before hbpcre, making it the default PCRE engine. The BCC PCRE engine apparently cannot handle regexp needs is hbtip. I'll fix