[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] 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. > Y

[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] 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@harbour-pro

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" Sent: Friday, April 03, 2009 5:21 PM To: Subject: Re: [Harbour] Problemn with OLE Hello all, Now works fine with ole/ac

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=6&t=15103&p=78401#p78401 Congratulations to team harbour :) Thank you all, Rossine. -- View this message in context: http://www.nabble.com/Problemn-with-OLE-t

[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] 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 'Nam

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_L

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 )

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. Reg

[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=10777&view=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 * INST

[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; PROCESSOR

[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 C:\devl\PellesC-501\include\winc

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

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 f

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_I

[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=10776&view=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 ! At

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 ( con

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

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 BASE/108