Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Przemyslaw Czerpak
On Thu, 02 Apr 2009, Pritpal Bedi wrote: Hi, It is as simple as: hbqt_par_QWebView( 1 )-setUrl( *hbqt_par_QUrl( 2 ) ); Yes, but I suggest to make it a little bit more complicated and add at least some basic parameter validation and add RT errors on wrong parameters before use. Otherwise such

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

2009-04-03 Thread Enrico Maria Giordano
-Messaggio Originale- Da: dru...@users.sourceforge.net A: harbour@harbour-project.org Data invio: venerdì 3 aprile 2009 2.42 Oggetto: [Harbour] SF.net SVN: harbour-project:[10774] trunk/harbour * harbour/source/vm/cmdarg.c ! fixed GPF when hb_vmInit() is called without

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

2009-04-03 Thread Xavi
Making harbourmt-11.dll... hbmk: Processing configuration: D:\Qt\harbour\bin\hbmk.cfg Error BASE/1081 Argument error: + (Quit) hbmk: Processing configuration: D:\Qt\harbour\bin\hbmk.cfg Error BASE/1081 Argument error: + (Quit) mingw32-make.exe: Nothing to be done for `install'. Error

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Pritpal Bedi
Hello Przemyslaw Czerpak-2 wrote: hbqt_par_QWebView( 1 )-setUrl( *hbqt_par_QUrl( 2 ) ); Yes, but I suggest to make it a little bit more complicated and add at least some basic parameter validation and add RT errors on wrong parameters before use. Otherwise such code will GPF on NULL

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Xavi
Pritpal, Remember this.- http://lists.harbour-project.org/pipermail/harbour/2009-April/017872.html Now you have this.- #define hbqt_par_QIcon( n ) ( ( QIcon ) hb_parc( n ) ) #define hbqt_par_QString( n )( ( QString ) hb_parc( n ) ) /* * QFont () * QFont (

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

2009-04-03 Thread vszakats
Revision: 10776 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10776view=rev Author: vszakats Date: 2009-04-03 09:06:10 + (Fri, 03 Apr 2009) Log Message: --- 2009-04-03 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * bin/hb-mkdyn.bat !

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Viktor Szakáts
Hi Pritpal, /* * QFont () * QFont ( const QString family, int pointSize = -1, int weight = -1, bool italic = false ) * QFont ( const QFont font, QPaintDevice * pd ) * QFont ( const QFont font ) */ HB_FUNC( QT_QFONT ) { if( HB_IS_STRING( 1 ) ) This should be HB_ISCHAR( 1 ).

Re: [Harbour] Index with to long field name.

2009-04-03 Thread Adam Lubszczyk
Adam Lubszczyk wrote: Hi! Problem: In Clipper or FoxPro samebody create index like: INDEX ON Name_and_Last TO xxx but field name in DBF is 'NAME_AND_L'. In Clipper and FoxPro it's work OK but Harbour when open index show error: variable 'Name_and_Last' not found. (in index file key

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Xavi
Try this.- hb_retptr( ( (QTransform )(hbqt_par_QPainter( 1 )-worldTransform()) ) ); Xavi PS: I feel that my mails are not read. Pritpal Bedi escribió: Hello Przemyslaw Czerpak-2 wrote: hbqt_par_QWebView( 1 )-setUrl( *hbqt_par_QUrl( 2 ) ); Yes, but I suggest to make it a little bit more

[Harbour] New poccce error

2009-04-03 Thread Viktor Szakáts
pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_M_ARM -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../../include-DHB_FM_STATISTICS_OFF -c ../../../maindllh.c -Fomaindllh.obj ../../../maindllh.c(66): error #2120: Redeclaration of 'DllMain' previously declared at

[Harbour] Build error

2009-04-03 Thread Horodyski Marek (PZUZ)
After read install, in einvironment have I : [...] EDPATH=D:\WATCOM\EDDAT HB_COMPILER=owatcom HB_INSTALL_PREFIX=D:\hb-owatcom INCLUDE=D:\WATCOM\H;D:\WATCOM\H\NT;D:\harbour\include; NUMBER_OF_PROCESSORS=1 OS=Windows_NT Path=D:\WATCOM\BINNT;D:\WATCOM\BINW;D:\harbour\bin;D:\BATCH;D:\ExeCom;

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

2009-04-03 Thread vszakats
Revision: 10777 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10777view=rev Author: vszakats Date: 2009-04-03 13:47:54 + (Fri, 03 Apr 2009) Log Message: --- 2009-04-03 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * harbour-wce-spec *

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Pritpal Bedi
Thanks Xavi hb_retptr( ( (QTransform )(hbqt_par_QPainter( 1 )-worldTransform()) ) ); This is correct. PS: I feel that my mails are not read. No, never. I just could not get everything. I am from Clipper roots basically so find difficult to follow C syntax, and yet this is C++ syntax. Regards

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Pritpal Bedi
Viktor Szakáts wrote: /* * QFont () * QFont ( const QString family, int pointSize = -1, int weight = -1, bool italic = false ) * QFont ( const QFont font, QPaintDevice * pd ) * QFont ( const QFont font ) */ HB_FUNC( QT_QFONT ) { if( HB_IS_STRING( 1 ) ) This should be

Re: [Harbour] Index with to long field name.

2009-04-03 Thread Przemyslaw Czerpak
On Fri, 03 Apr 2009, Adam Lubszczyk wrote: Hi, Problem: In Clipper or FoxPro samebody create index like: INDEX ON Name_and_Last TO xxx but field name in DBF is 'NAME_AND_L'. In Clipper and FoxPro it's work OK but Harbour when open index show error: variable 'Name_and_Last' not

Re: [Harbour] Index with to long field name.

2009-04-03 Thread Ranier Vilela
Przemyslaw Czerpak escreveu: On Fri, 03 Apr 2009, Adam Lubszczyk wrote: Hi, Problem: In Clipper or FoxPro samebody create index like: INDEX ON Name_and_Last TO xxx but field name in DBF is 'NAME_AND_L'. In Clipper and FoxPro it's work OK but Harbour when open index show error: variable

[Harbour] HbQt - methods returning pointers (suggestion)

2009-04-03 Thread Marcos Gambeta
Pritpal, I have a suggestion about methods that return pointers and i would like to know your opinion (and the opinion of the others developers too). While a function return a pointer, my suggestion is that methods must return objects and not pointers. See this example: Class TQMainWindow

Re: [Harbour] Problemn with OLE

2009-04-03 Thread Rossine
Hello all, Now works fine with ole/activex. You can see the screens this link: http://forums.fivetechsupport.com/viewtopic.php?f=6t=15103p=78401#p78401 Congratulations to team harbour :) Thank you all, Rossine. -- View this message in context:

Re: [Harbour] Problemn with OLE

2009-04-03 Thread Sérgio Kondo
Hi Rossine, In your link Linares say 'Un primer boceto de un diseñador... '. What is boceto? Sérgio -- From: Rossine qii...@ig.com.br Sent: Friday, April 03, 2009 5:21 PM To: harbour@harbour-project.org Subject: Re: [Harbour] Problemn with OLE

Re: [Harbour] Problemn with OLE

2009-04-03 Thread Marcos Gambeta
Sérgio Kondo escreveu: In your link Linares say 'Un primer boceto de un diseñador... '. What is boceto? http://es.wikipedia.org/wiki/Boceto Esboço (portuguese) Layout (english) Regards, Marcos Gambeta ___ Harbour mailing list

[Harbour] build error

2009-04-03 Thread marek . horodyski
Pls. ignore my last post. All is ok and perfectly work. My mistake in synchronize metod from nightly zip file. Regards, Marek Horodyski -- Kawalerka za 89 tys. zl! Sprawdz http://link.interia.pl/f20fb

Re: [Harbour] HbQt - methods returning pointers (suggestion)

2009-04-03 Thread Pritpal Bedi
Marcos Marcos Gambeta-2 wrote: I have a suggestion about methods that return pointers and i would like to know your opinion (and the opinion of the others developers too). While a function return a pointer, my suggestion is that methods must return objects and not pointers. Your

[Harbour] unreachable code

2009-04-03 Thread marek . horodyski
What wrong is in this code ? : Function Poprawny( txt, wykonanie, wynik, x, video) Local poprawny := .t., oBlad, oldBlock := ErrorBlock( {|oE| Break(oE)}) #include 'homar.ch' DEFAULT wykonanie TO .f., video to .t. Begin Sequence If ValType( x) == 'B' ElseIf Left( StrTran( txt,

Re: [Harbour-users] Concurrent Clipper Apps with Harbour

2009-04-03 Thread harbour-users
Yes is possible sharing database but you can easy recompile any clipper+dbfntx to harbour because it is more reliable that clipper 2009/4/3 harbour-users@harbour-project.org Is it absolutely safe on a network to run the same application accessing the same databases and indices on several