[Harbour] A new Multi-Database access from Clipper, Harbour

2010-01-20 Thread Massimo Belgrano
I have found a product that like otc medtiator allow Using client server without changing your code (or with few changes) http://www.topconnect.cl FIRST Client/Server RDD Windows API Multi-Database access from Clipper, Harbour Windows 16 32 bit Languajes Access the hottest SQL Databases from

[Harbour] Error compiling hbqt

2010-01-20 Thread Massimo Belgrano
C:\harbour\contrib\hbqt\harbour\win-make clean install ! Building Harbour 2.0.1dev from source - http://www.harbour-project.org ! MAKE: C:/harbour/win-make 3.81 sh.exe clean install ! HB_HOST_PLAT: win (x86) HB_SHELL: nt ! HB_PLATFORM: win (x86) (autodetected) ! HB_COMPILER: mingw ! Component:

[Harbour] hbide line number and casual zooming

2010-01-20 Thread Viktor Szakáts
Hi Pritpal, Is it normal that I can scroll the line numbers without scrolling the edit area? Also, in recent version, if I scroll the line numbers with the mouse-wheel, the edit area will zoom in (or out) after a while. Brgds, Viktor ___ Harbour

[Harbour] DBF encryption

2010-01-20 Thread Alex Strickland
Hi I was trying to understand encryption of dbf's and I wrote this test. I didn't expect the last two lines of output (see end), but perhaps it is invalid to expect an encrypted file to be encrypted again? If so, shouldn't: dbcrypt-( dbinfo( DBI_ENCRYPT, fredflintstone ) ) cause an

Re: [Harbour] Re: OT: file size

2010-01-20 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: so all that needs to be done is fall back to return failure where cairo functions don't exist in the cairo version hbcairo is build against. I found only 4 functions that needs to be fixed. See, pdf.c and png.c. I still has a question that to do with this:

Re: [Harbour] Re: OT: file size

2010-01-20 Thread Viktor Szakáts
Hi, Viktor Szakáts wrote: so all that needs to be done is fall back to return failure where cairo functions don't exist in the cairo version hbcairo is build against. I found only 4 functions that needs to be fixed. See, pdf.c and png.c. I still has a question that to do with this:

[Harbour] HB_SERIALIZE

2010-01-20 Thread Mindaugas Kavaliauskas
Hi, we had a problem with HB_[DE]SERIALIZE(). We've tried to use it to save/restore variable into file, but it has some side effects. F.e., it saves only key value pairs for the hash, but forgets about other things like case sensitive flag (perhaps also the default value). After complex

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

2010-01-20 Thread snaiperis
Revision: 13649 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13649view=rev Author: snaiperis Date: 2010-01-20 12:26:19 + (Wed, 20 Jan 2010) Log Message: --- 2010-01-20 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) *

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

2010-01-20 Thread vszakats
Revision: 13650 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13650view=rev Author: vszakats Date: 2010-01-20 12:53:44 + (Wed, 20 Jan 2010) Log Message: --- 2010-01-20 13:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile

Re: [Harbour] HB_SERIALIZE

2010-01-20 Thread Przemysław Czerpak
On Wed, 20 Jan 2010, Mindaugas Kavaliauskas wrote: Hi, we had a problem with HB_[DE]SERIALIZE(). We've tried to use it to save/restore variable into file, but it has some side effects. F.e., it saves only key value pairs for the hash, but forgets about other things like case sensitive flag

Re: [Harbour] HB_SERIALIZE

2010-01-20 Thread Massimo Belgrano
Hi .Harbour genius.. What is present in your doto list? Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Printing OEM_CHARSET win_prn()

2010-01-20 Thread Xavi
Hi, Still can not print graphics for example, chr(178). Sorry, I can not help you, my system print correctly chr(178), U+2593 (0xB2): Dark Shadow Check it in the character map .- http://windows.microsoft.com/pt-PT/windows-vista/Open-Character-Map HTH -- Xavi El 18/01/2010 15:59, Itamar

Re: [Harbour] hbide line number and casual zooming

2010-01-20 Thread Pritpal Bedi
Hi Viktor Szakáts wrote: Is it normal that I can scroll the line numbers without scrolling the edit area? No, it should not be. Actually I was experimenting with mouse wheel for zooming feature but it turns out be having side effects. Will be disabling it shortly. Also, in recent

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

2010-01-20 Thread vszakats
Revision: 13651 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13651view=rev Author: vszakats Date: 2010-01-20 16:05:09 + (Wed, 20 Jan 2010) Log Message: --- 2010-01-20 16:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) *

[Harbour] Re: Printing OEM_CHARSET win_prn()

2010-01-20 Thread Itamar Lins
What is your compiler ? My is MSVC express, and show small box, instead of characters. :-( Best regards, Itamar M. Lins Jr. Xavi jara...@gmail.com escreveu na mensagem news:4b571979.5060...@gmail.com... Hi, Still can not print graphics for example, chr(178). Sorry, I can not help you, my

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

2010-01-20 Thread vszakats
Revision: 13652 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13652view=rev Author: vszakats Date: 2010-01-20 16:49:29 + (Wed, 20 Jan 2010) Log Message: --- 2010-01-20 17:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_prn1.c

Re: [Harbour] Re: Printing OEM_CHARSET win_prn()

2010-01-20 Thread Xavi
Itamar, What is your compiler ? My is MSVC express, and show small box, instead of characters. :-( I think this has nothing to do with the C compiler and harbour. Please check your system maybe not have the exact font name or oem version and is associated with another. Best regards. -- Xavi

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

2010-01-20 Thread vouchcac
Revision: 13653 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13653view=rev Author: vouchcac Date: 2010-01-20 17:24:19 + (Wed, 20 Jan 2010) Log Message: --- 2010-01-20 09:19 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) *

Re: [Harbour] Re: Printing OEM_CHARSET win_prn()

2010-01-20 Thread Viktor Szakáts
Itamar, What is your compiler ? My is MSVC express, and show small box, instead of characters. :-( I think this has nothing to do with the C compiler and harbour. Please check your system maybe not have the exact font name or oem version and is associated with another. I has to do with

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

2010-01-20 Thread Viktor Szakáts
Hi Pritpal, I can still scroll the line numbers independently from edit area. Brgds, Viktor On 2010 Jan 20, at 18:24, vouch...@users.sourceforge.net wrote: Revision: 13653 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13653view=rev Author: vouchcac Date:

[Harbour] Re: Go Programming Language vs Harbour Programming Languages

2010-01-20 Thread Massimo Belgrano
Google's Go is the TIOBE Programming Language of 2009 Google's brand new programming language Go has won the TIOBE's Programming Language of the Year 2009 award. This award is given to the programming language that gained most market share in 2009. Go had an increase of 1.25% since its official

[Harbour] Error building Harbour mingw/wce

2010-01-20 Thread AbeB
! Building Harbour 2.0.1dev from source - http://www.harbour-project.org ! MAKE: win-make.exe 3.81 c:/cygwin/bin/sh.exe ! HB_INSTALL_PREFIX: C:\Harbour\DevCe ! HB_HOST_PLAT: win (x86) HB_SHELL: nt ! HB_PLATFORM: wce (arm) ! HB_COMPILER: mingwarm ! Component: 'zlib' found in

Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread Fernando Athayde
try win-make clean and build again here in bcc happens this erro too, but with this way run Best Regards, Fernando Athayde De: AbeB abe.b...@att.net Para: harbour@harbour-project.org Enviadas: Quarta-feira, 20 de Janeiro de 2010 19:28:43 Assunto: [Harbour]

Re: Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread AbeB
Tried that, Still no good! Fernando Athayde wrote: try win-make clean and build again here in bcc happens this erro too, but with this way run Best Regards, Fernando Athayde -- View this message in context:

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

2010-01-20 Thread vszakats
Revision: 13654 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13654view=rev Author: vszakats Date: 2010-01-20 23:55:31 + (Wed, 20 Jan 2010) Log Message: --- 2010-01-21 00:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added new

Re: Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread Przemysław Czerpak
On Wed, 20 Jan 2010, AbeB wrote: Hi, Tried that, Still no good! So you haven't made it well. When you made clean build then this error message will disappear for sure. Before you report any problems with devel SVN code always make clean build. Many of modifications needs full recompilation. In

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

2010-01-20 Thread druzus
Revision: 13655 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13655view=rev Author: druzus Date: 2010-01-21 00:10:08 + (Thu, 21 Jan 2010) Log Message: --- 2010-01-21 01:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

[Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Pritpal Bedi
Hello Przemek To reduce overall cluttering in Qt code I have to define this constant for every Qt class as : #xtranslate QTextCursor( x ) = QTextCursor():configure( x ) I am wondering if there do exist a way to achieve it otherwise. Regards Pritpal Bedi -- View this message in context:

Re: [Harbour] Re: OT: file size

2010-01-20 Thread Przemysław Czerpak
On Sun, 17 Jan 2010, David Arturo Macias Corona wrote: Hi, Surprisely, except for source code, there are not reference of DB_DBFLOCK_VFP, locking scheme in doc files and even changelog file These modification and many others RDD related I made few years ago when I was working on xHarbour CVS

Re: Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread AbeB
Przemysław Czerpak wrote: On Wed, 20 Jan 2010, AbeB wrote: Hi, Tried that, Still no good! So you haven't made it well. When you made clean build then this error message will disappear for sure. Before you report any problems with devel SVN code always make clean build. Many of

[Harbour] rddsetdefault

2010-01-20 Thread Itamar Lins
Hi! I am with problem here. Function Main REQUEST LETO RDDSETDEFAULT( LETO ) Error DBCMD/1015 Argument error: RDDSETDEFAULT Called from RDDSETDEFAULT(0) Is a problem of RDD LetoDb correct? Best regards, Itamar M. Lins Jr. ___ Harbour

Re: Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread Przemysław Czerpak
On Wed, 20 Jan 2010, AbeB wrote: Hi, Tried that, Still no good! So you haven't made it well. When you made clean build then this error message will disappear for sure. Before you report any problems with devel SVN code always make clean build. Many of modifications needs full

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Pritpal Bedi
Hi Pritpal Bedi wrote: #xtranslate QTextCursor( x ) = QTextCursor():configure( x ) Actually this works: #xtranslate QTextDocument( p = QTextDocument():configure( p Regards Pritpal Bedi -- View this message in context:

Re: [Harbour] rddsetdefault

2010-01-20 Thread Przemysław Czerpak
On Wed, 20 Jan 2010, Itamar Lins wrote: Hi, I am with problem here. Function Main REQUEST LETO RDDSETDEFAULT( LETO ) Error DBCMD/1015 Argument error: RDDSETDEFAULT Called from RDDSETDEFAULT(0) Is a problem of RDD LetoDb correct? Yes, it's LetoDb problem. add to

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Pritpal Bedi
Hi #xtranslate QTextCursor( x ) = QTextCursor():configure( x ) #xtranslate QTextCursor( x = QTextCursor():configure( x None of them works. What is the correct syntax to achieve it ? Regards Pritpal Bedi -- View this message in context:

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Viktor Szakáts
#xtranslate QTextCursor( x ) = QTextCursor():configure( x ) #xtranslate QTextCursor( x = QTextCursor():configure( x None of them works. What is the correct syntax to achieve it ? Why do you want to hide this method from app code? Brgds, Viktor

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Przemysław Czerpak
On Wed, 20 Jan 2010, Pritpal Bedi wrote: Hi, To reduce overall cluttering in Qt code I have to define this constant for every Qt class as : #xtranslate QTextCursor( x ) = QTextCursor():configure( x ) I am wondering if there do exist a way to achieve it otherwise. I'm afraid that I do not

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Pritpal Bedi
Hi Przemysław Czerpak wrote: I'm afraid that I do not know what is the problem and what you want to do. The above PP rule is correct so it will work. Anyhow if QTextCursor() is class function then each call to QTextCursor() create new object of QTextCursor class. Is it a problem? Or

Re: [Harbour] Re: Printing OEM_CHARSET win_prn()

2010-01-20 Thread Xavi
Itamar, ... UNICODE setting, which is default for newer MSVC targets, f.e. the Itamar is using. ??? Ok. No Comments. :) Change .- REQUEST HB_CODEPAGE_PTISO ... HB_CDPSelect( PTISO ) With .- REQUEST HB_CODEPAGE_PT850 ... HB_CDPSelect( PT850 ) Best regards. -- Xavi El 20/01/2010

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Przemysław Czerpak
On Wed, 20 Jan 2010, Pritpal Bedi wrote: This is the situation: QTextCursor() is a class and :configure( xObject ) is its method resturning self. In application code I have frequent calls like this: QTextDocument():configure( ::qEdit:document() ):setModified( .f. ) #xtranslate :: = Self:

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Viktor Szakáts
This is the situation: QTextCursor() is a class and :configure( xObject ) is its method resturning self. In application code I have frequent calls like this: QTextDocument():configure( ::qEdit:document() ):setModified( .f. ) / OR / qDoc := QTextDocument():configure(

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

2010-01-20 Thread vouchcac
Revision: 13656 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13656view=rev Author: vouchcac Date: 2010-01-21 01:32:59 + (Thu, 21 Jan 2010) Log Message: --- 2010-01-20 17:16 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.prg *

Re: [Harbour] Classes - #xtranslate QTextCursor( x ) = QTextCursor():configure( x )

2010-01-20 Thread Pritpal Bedi
Hi Viktor Szakáts wrote: Sorry to jump in, but IMO this is not very good idea. This is like forcing CONSTRUCTOR or even worse DEFAULT methods to the class syntax. We don't have it for good reason (f.e. code readability). This can save some typing but the time is lost many times

[Harbour] ChangeLog : Entry Descriptions

2010-01-20 Thread Pritpal Bedi
Hello Viktor It may be good idea to include changes entry descriptions like: /* Use this format for entry headers: -MM-DD HH:MM UTC[-|+]hhmm Your Full Name (your_email address) 2010-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) [ Entry Descriptors ] ! Fixed: + Added:

Re: [Harbour] ChangeLog : Entry Descriptions

2010-01-20 Thread Viktor Szakáts
Hi Pritpal, It's already included in doc/howtosvn.txt, section 1.3. Brgds, Viktor On 2010 Jan 21, at 02:43, Pritpal Bedi wrote: Hello Viktor It may be good idea to include changes entry descriptions like: /* Use this format for entry headers: -MM-DD HH:MM UTC[-|+]hhmm Your

[Harbour] hbMK2 - .hbp - Compiler switches for invisual source

2010-01-20 Thread Pritpal Bedi
Hello Viktor Before digging deep, I need to collect info about if hbMK2 has a feature to issue different compiler switchs for indivisual sources as is achieved in xMate? My goal is to apply this feature in hbIDE but is not possible unless it is enabled in hbMK2. Regards Pritpal Bedi -- View

Re: [Harbour] hbMK2 - .hbp - Compiler switches for invisual source

2010-01-20 Thread Viktor Szakáts
Hi Pritpal, Hello Viktor Before digging deep, I need to collect info about if hbMK2 has a feature to issue different compiler switchs for indivisual sources as is achieved in xMate? My goal is to apply this feature in hbIDE but is not possible unless it is enabled in hbMK2. No, it's

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

2010-01-20 Thread Mindaugas Kavaliauskas
Hi, dru...@users.sourceforge.net wrote: * harbour/src/rtl/itemseri.c + added support for hash array flags and default value serialization Thank You very much! BTW, I found code in last commit: if( * pszFile ) { char * pszFileName = hb_strdup( pszFile ); if(

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

2010-01-20 Thread vouchcac
Revision: 13657 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13657view=rev Author: vouchcac Date: 2010-01-21 02:34:31 + (Thu, 21 Jan 2010) Log Message: --- 2010-01-20 18:33 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.prg *

[Harbour] several build failures with r13656

2010-01-20 Thread Tamas TEVESZ
hi, i am quite hopelessly behind reading the list, but at a quick skim these have not surfaced yet. linux x dos/watcom c linux x os2/watcom c++ linux x win/mingw c linux x win/mingw c++ linux x win/watcom c linux x win/watcom c++ these builds are broken atm. os2/watcom c++ is:

Re: Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread AbeB
You got it! thanks. HB_BIN_COMILE pointed to a NOT UP DATE' harbour.exe Thanks.. Now. i get this error --- ../../../../../src/rtl/obj/wce/mingwarm/gtclip.o:gtclip.c:(.text+0x58): undefined reference to `LocalLock' ../../../../../src/rtl/obj/wce/mingwarm/gtclip.o:gtclip.c:(.text+0x94):

[Harbour] Re: rddsetdefault

2010-01-20 Thread Alexander S.Kresin
Przemysław Czerpak writes: I am with problem here. Function Main REQUEST LETO RDDSETDEFAULT( LETO ) Error DBCMD/1015 Argument error: RDDSETDEFAULT Called from RDDSETDEFAULT(0) Is a problem of RDD LetoDb correct? Yes, it's LetoDb problem. add to letodb/source/client/leto1.c just befor

Re: [Harbour-users] Question for FAQ: How to compile a hello world program?

2010-01-20 Thread Kevin Monceaux
Smu, On Wed, Jan 20, 2010 at 07:16:20PM -0800, smu johnson wrote: If I wanted to write a hello world program (which I have done), what steps must I take to actually be able to use Harbour as intended... ie, make a hello.exe file? I had to look at one of my project's make files to jog my

Re: [Harbour-users] Question for FAQ: How to compile a hello world program?

2010-01-20 Thread Massimo Belgrano
Using hbmk2 hbmk2 is a Tool that allow compile sample and large project basic use of this tools is hbmk2 ac_test hbmk2 ac_test.prg After this command you have ac_test.exe created You can also immediaply execute simple using hbmk2 ac_test -run Hbmk2 is indipendent from Platform and Compiler that