[Harbour] Re: CLASSES - Instance Variable as Object - Access/Assign Elsewhere

2010-04-23 Thread Shum
Hi Pritpal Bedi, Is the following thread ? http://harbour-devel.1590103.n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-td4880826.html#a4880826 Shum -- View this message in context: http://harbour-devel.1590103.n2.nabble.com/CLASSES-Instance-Variable-as-Object-Access-Assign

[Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-22 Thread Shum
Hi Angel, >I hope this time Shum will join as he is also an xbase++ expert. I am converting Xbase++ applications into Harbour + hbxbp (hbqt) However, this two weeks ...I had to look after my little son..., I will back to work (the converting ...) on/about May Shum -- View t

[Harbour] Re: Still waiting GPF Soultion for intra-dlls call of QT...?

2010-04-14 Thread Shum
Thanks Pritpal Bedi, I will try ! Shum -- View this message in context: http://n2.nabble.com/Still-waiting-GPF-Soultion-for-intra-dlls-call-of-QT-tp4899741p4903072.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour

[Harbour] Re: Still waiting GPF Soultion for intra-dlls call of QT...?

2010-04-14 Thread Shum
Hi Angel, Sorry for my noise ! Shum -- View this message in context: http://n2.nabble.com/Still-waiting-GPF-Soultion-for-intra-dlls-call-of-QT-tp4899741p4903060.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour

[Harbour] Still waiting GPF Soultion for intra-dlls call of QT...?

2010-04-13 Thread Shum
XBPDIALOG:CREATE(0) in ../../../xbpdialog.prg Called from BUILDDLG(21) in tgui.prg Called from MAIN(16) in tst.prg Shum -- View this message in context: http://n2.nabble.com/Still-waiting-GPF-Soultion-for-intra-dlls-call-of-QT-tp4899741p4899741.html Sent from the harbour-devel mailing list

[Harbour] Re: What wrong with this example ....Harbour + Qt + hbxbp ...

2010-04-10 Thread Shum
even copy the harbourmt-21.dll into the tst.exe dir ... Hope other can help . Shum -- View this message in context: http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-tp4880826p4883172.html Sent from the harbour-devel mailing list archive

[Harbour] Re: What wrong with this example ....Harbour + Qt + hbxbp ...

2010-04-10 Thread Shum
as follow: The path (d:\10\hprg\ should be the location of your disk and path of tgui.dll ) Shum http://n2.nabble.com/file/n4882603/PTST.ZIP PTST.ZIP -- View this message in context: http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-tp4880826p4882603.html Sent from the har

[Harbour] Re: What wrong with this example ....Harbour + Qt + hbxbp ...

2010-04-10 Thread Shum
Hi Bruno, Please remakr the line of //include "appevent.ch" or remove it and please pay attention to the tst.hbp file The line -ld:\10\hprg\tgui.dll The path (d:\10\hprg\ should be the location of your disk and path of tgui.dll ) Shum http://n2.nabble.com/fil

[Harbour] What wrong with this example ....Harbour + Qt + hbxbp ...

2010-04-09 Thread Shum
tgui.hbp ? Or anything wrong ? Shum http://n2.nabble.com/file/n4880826/PTST.ZIP PTST.ZIP -- View this message in context: http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-tp4880826p4880826.html Sent from the harbour-devel mailing list archive at Nabble.com

[Harbour] Question on/about :drawingArea := XbpDrawingArea():new(...) ?

2010-04-09 Thread Shum
. oDlg:drawingArea:clipChildren := .T. // error still exist at this line oDlg:create() Shum -- View this message in context: http://n2.nabble.com/Question-on-about-drawingArea-XbpDrawingArea-new-tp4878449p4878449.html Sent from the harbour-devel mailing list archive at Nabble.com

[Harbour] Xbpwindow lack of vars: ??

2010-04-09 Thread Shum
. - moveWithOwner default value is .T. - origin default value is XBPDLG_ORIGIN_OWNER (defined in xbp.ch) Lack of all border constants (ie.: XBPDLG_RAISEDBORDERTHICK ... ) Shum -- View this message in context: http://n2.nabble.com/Xbpwindow-lack

[Harbour] RE: To Pritpal Bedi: About oDlg:drawingArea:clipChildren ??

2010-04-08 Thread Shum
Hi Massimo Belgrano, I compile the prg as follow: I put xpp01.prg into d:\hb20\contrib\hbxbp\teststhen: d:\hb20\contrib\hbxbp\tests>hbmk2 xpp01.prg -Ld:\Qt\4.5.3\lib Where d:\Qt\4.5.3\libfor hbmk2 to find qt libs Shum Date: Thu, 8 Apr 2010 08:40:42 -0

[Harbour] To Pritpal Bedi: About oDlg:drawingArea:clipChildren ??

2010-04-08 Thread Shum
("First") } } ) oMenu:addItem( { "~Second", {|| QOut("Second")} } ) // Attach submenu to menu bar oMenubar:addItem( { oMenu, NIL } ) nEvent := 0 DO WHILE nEvent <> xbeP_Close nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handle

[Harbour] Re: To Pritpal Bedi: About GraGetRGBIntensity( nRGBColor ) ...

2010-04-08 Thread Shum
Hi Priptal Bedi, Please note Warning W0032 Variable 'ARGB' is assigned but not used in function ... Warning W0032 Variable 'CRGBHEX' is assigned but not used in function ... So libhbxhp.a cannot be generated Shum -- View this message in

[Harbour] To Pritpal Bedi: About GraGetRGBIntensity( nRGBColor ) ...

2010-04-08 Thread Shum
Color := 0 Endif cRGBHex := HB_HexToStr( HB_NumToHex( nRGBColor ) ) cRGBHex := PADL( cRGBHex, 6, "0") aRGB := { SubStr(cRGBHex,1,2), SubStr(cRGBHex,3,2), SubStr(cRGBHex,5,2) } aRGB := { HB_HexToNum(aRGB[1]), HB_HexToNum(aRGB[2]), HB_HexToNum(aRGB[3]) } RETURN aRGB (But I

[Harbour] Ask rddsql (SDDODBC) driver for support BLOB and LONGBLOB

2010-04-07 Thread Shum
27;AUS', 'Australia', 21446187), ('FRA', 'France', 64473140), ('RUS', 'Russia', 14190)") ? dBUseArea( .T., "SQLMIX", "SELECT * FROM country ORDER BY CODE LIMIT 0, 1;", "country", .T., .F.) ? "Rdd

[Harbour] Error with dBUseArea(...) with rddsql (sddodbc) with mysql ???

2010-04-06 Thread Shum
ortugal', 10617600), ('POL', 'Poland', 38115967), ('AUS', 'Australia', 21446187), ('FRA', 'France', 64473140), ('RUS', 'Russia', 14190)") ? dBUseArea( .T., "SQLMIX", "SELECT * FROM country

[Harbour] Re: Error with ODBC under rddsql (sddodbc) ...

2010-04-06 Thread Shum
program again The exec. it Now problem gone !?? Shum -- View this message in context: http://n2.nabble.com/Error-with-ODBC-under-rddsql-sddodbc-tp4852373p4859068.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour

[Harbour] How to set XON/XOFF under hbtpathy ?

2010-04-05 Thread Shum
Hi All, As title (by using what function ?) ... Shum -- View this message in context: http://n2.nabble.com/How-to-set-XON-XOFF-under-hbtpathy-tp4853978p4853978.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing

[Harbour] RE: Error with ODBC under rddsql (sddodbc) ...

2010-04-05 Thread Shum
Hi Viktor, > There is also a display bug here, which I hope someone can verify. I use a 80x40 (WxH) DOS prompt, I donot know if it is a side effect ... Shum Date: Mon, 5 Apr 2010 01:17:39 -0800 From: ml-node+4852773-1916375375-334...@n2.nabble.com To: wcshu...@hotmail.

[Harbour] Error with ODBC under rddsql (sddodbc) ...

2010-04-04 Thread Shum
;, 'Russia', 14190)") ? dBUseArea( .T., "sqlmix", "SELECT * FROM country", "country", .T., .F.) ? "Rdd: SQLMIX Alias: " +Alias()+ " BOF() is "+ IIF(Bof()," TRUE", "FALSE") dBCreate( "tes

[Harbour] Re: dBRequest() runtime error ...?

2010-04-02 Thread Shum
quest("ALIAS_1", .T.) ? "DBRequest ALIAS_1 OK" ? "BOF() is " + IIF(Bof()," TRUE", "FALSE") Else dbUseArea( ,, "testdbf.dbf", "ALIAS_1" ) If HB_DBDetach("ALIAS_1")

[Harbour] dBRequest() runtime error ...?

2010-04-02 Thread Shum
cTAls := cOAlias Endif --nTime EndDo Return( lRet ) Shum http://n2.nabble.com/file/n4843816/hb_out.log hb_out.log -- View this message in context: http://n2.nabble.com/dBRequest-runtime-error-tp4843816p4843816.html Sent from the harbour-devel mailing list archive at Nabb

[Harbour] Re: Ask help for run time error ...

2010-03-29 Thread Shum
Hi All, Solved ! Now... facing other kind of error Shum -- View this message in context: http://n2.nabble.com/Ask-help-for-run-time-error-tp4816267p4816993.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing

[Harbour] Re: How to go insde debuger ?

2010-03-28 Thread Shum
Hi Jaroslaw Kadziola , Thanks ! It work fine now ... Shum -- View this message in context: http://n2.nabble.com/How-to-go-insde-debuger-tp4816375p4816404.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list

[Harbour] How to go insde debuger ?

2010-03-28 Thread Shum
Hi All, under the tests dir hbmk2 tstcolor.prg -b tstcolor.exe is generated but "run" it does not go into the debuger ? Please point me to right direction thanks ! Shum -- View this message in context: http://n2.nabble.com/How-to-go-insde-debuger-tp4816375p4816375.html Sen

[Harbour] Ask help for run time error ...

2010-03-28 Thread Shum
Hi All, C compiler is the builtin mingw of latest Haubour SVN I just finish error free compiled and generate my harbour application... After execute the application error comes out with hb_out.log as follow: Called from _LMSGBOX(0) Called from MAIN(90) in mysys.prg the _LMSGBOX() is a fu

[Harbour] Ask Xbase++ dBPosition() and dBGoPosition() function in Harbour...

2010-03-28 Thread Shum
Ret ) // TODO METHOD DacSession:commitTransaction() Local lRet:=.F. Return( lRet ) // TODO METHOD DacSession:rollbackTransaction() Local lRet:=.F. Return( lRet ) Shum -- View this message in context: http://n2.nabble.com/Ask-Xbase-dBPosition-and-dBGoPosition-fun

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-28 Thread Shum
Hi Teo, Many thanks again! Shum -- View this message in context: http://n2.nabble.com/Ask-Str2Poniter-and-Pointer2Str-function-pair-tp4803834p4812543.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
hb_itemGetPtr( p ), hb_itemGetNI( n ) ); > hb_itemReturnRelease( s ); > } >} It seems that POINTER2STRING had to pass 2 parameters. Because i donot know the length of the return string Can I pass NIL to the 2nd parameter? and just obtain the string ? Shum -- View th

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
Hi All, >1.) DBPosition() (which exist in Xbase++ but not in Harbour) function Should be DBGoPosition() ... Please add this function DBGoPosition() into Harbour for Xbase++ compitable Thanks ! Shum -- View this message in context: http://n2.nabble.com/Ask-Str2Poniter-and-Pointer2

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
functon) - Xbase++ ODBC DBE (SQL) and Harbour RDDSQL with same style of SQL statement handling (my Application is already using ODBC DBE for access SQL for many years) Shum -- View this message in context: http://n2.nabble.com/Ask-Str2Poniter-and-Pointer2Str-function-pair-tp4803834p4811749

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
Hi Angel, > work for the metro of Hong Kong and needs to interface xbase programs with > ticket spending machines. The project has been end-up already. Now I am converting my All systems (POS, Account, Payroll...) into Harbour dueto Harbour is MultiPalform and more powerful ... and free ...

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

2010-03-27 Thread Shum
Hi Pritpal Bedi, Vitkor is correct, It should be GraInitMatrix() ... Sorry for my mistake ... Shum -- View this message in context: http://n2.nabble.com/SF-net-SVN-harbour-project-14249-trunk-harbour-tp481p4810063.html Sent from the harbour-devel mailing list archive at Nabble.com

[Harbour] RE: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
Hi Teo, >Please take in mind the Viktor's advice. It's very dangerous to deal with >pointers at prg Harbour level, you can easily break things badly. I just use the function during Xbase++ to Harbour converting ... After that, I will re-think and re-write those part ....

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
Hi Petr, Yes, I find it and I will try it Thanks Shum -- View this message in context: http://n2.nabble.com/Ask-Str2Poniter-and-Pointer2Str-function-pair-tp4803834p4809635.html Sent from the harbour-devel mailing list archive at Nabble.com

[Harbour] Re: hbmk2 log error

2010-03-27 Thread Shum
Hi, try: hbmk2 test.hbp >t.log 2>&1 Shum -- View this message in context: http://n2.nabble.com/hbmk2-log-error-tp4809362p4809529.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attac

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
much effort So I have the Stringof() or Pointer2Str() function in hand ...It can speed up my Xbase++ to Harbour convertion... Shum -- View this message in context: http://n2.nabble.com/Ask-Str2Poniter-and-Pointer2Str-function-pair-tp4803834p4809522.html Sent from the harbour-devel mailing

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-27 Thread Shum
b_itemRelease( pTemp ); } #pragma enddump However, I donot know if hb_parni(1) is right or not ...or please point out anything wrong ? Shum -- View this message in context: http://n2.nabble.com/Ask-Str2Poniter-and-Pointer2Str-function-pair-tp4803834p4808872.html Sent from the harbour-devel mailing list a

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

2010-03-26 Thread Shum
Hi Pritpal Bedi, Would you please also add the GraInitMaterix() However, I cannot find document of GraInitMaterix() directly, It return a 3D array and the array will pass into many Gra... funxtion such as Graotate(), GraTranslate(), GraScale() Shum -- View this message in

[Harbour] Re: Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-26 Thread Shum
hi All, I can find hb_ItemGetCPtr(..) in C level function call However, I cannot call the hb_ItemGetCPtr() directly within prg level Hope somebody can point me in the right direction to call the C Level function within harbour ... Thanks inadvanced ! Shum -- View this message in

[Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-26 Thread Shum
Hi Harbour developers, I would like to ask the Str2Pointer(cStr) and Pointer2Pointer(pPtr) function ... Something like in xHarbour HB_String2Pointer(cStr) and ( HB_Pointer2Str(pPtr,nByte) or Stringof() in C langurage ...) Shum -- View this message in context: http://n2.nabble.com/Ask

[Harbour] RE: Ask for more Xbase++ compatible fuctio n and class ..‏

2010-03-13 Thread Shum
function Shum Date: Sat, 13 Mar 2010 00:25:27 -0800 From: ml-node+4726653-5748-334...@n2.nabble.com To: wcshu...@hotmail.com Subject: Re: Ask for more Xbase++ compatible fuction and class ..‏ Shum wrote: I hope you can add more Xbase++ function and or class as following

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

2010-03-13 Thread Shum
c:(.data+0x38): undefined reference to `HB_FUN_HB_SYMBOL_UNUSED Shum -- View this message in context: http://n2.nabble.com/SF-net-SVN-harbour-project-14161-trunk-harbour-tp4730266p4730784.html Sent from the harbour-devel mailing list archive

[Harbour] Ask for more Xbase++ compatible fuction and class ..‏

2010-03-12 Thread Shum
to map with hbqt for Gra drawing and setting ... : : -GraFont() -GraSetColor() -GraQueryTextBox() -GraSetAttrString() -GraStringAt() -GraGetRGBIntensity() -XbpClipBoard class and it's function -AppType() -NextTAppEvent() -LastAppEvent() Thanks inadvance ! Shum -- View this messa

[Harbour] Ask Xbase++ Compatibility function dBPosition()...

2010-03-10 Thread Shum
pointer position with a scroll bar. The range for the scroll bar must be set to 0-100 and the scroll bar thumb is positioned using the return value of DbPosition(). Shum -- View this message in context: http://n2.nabble.com/Ask-Xbase-Compatibility-function-dBPosition-tp4714219p4714219.html

[Harbour] Re: MT workareas cloning

2010-03-09 Thread Shum
ZEROSPACE Or any way to get a list of all alias within the ZeroSpace ??? Shum -- View this message in context: http://n2.nabble.com/MT-workareas-cloning-tp3085150p4707278.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbou

[Harbour] Re: SqlMix and dbcreated

2010-03-09 Thread Shum
Hi Mindaugas, It possible to implement the database connection number as a class ... like the DacSession class in Xbase++ ...?? Shum -- View this message in context: http://n2.nabble.com/SqlMix-and-dbcreated-tp3834818p4707029.html Sent from the harbour-devel mailing list archive at Nabble.com

[Harbour] Ask for a table for listing all function among ...

2010-03-09 Thread Shum
Hi All, I want to ask any one has a table (file) which listing all function and or class and methods for Harbour/Clipper/Xbase++ I need it easy checking and finding those function Thasnk in-advanced ! Shum -- View this message in context: http://n2.nabble.com/Ask-for-a-table

[Harbour] Ask Xbase++ Compatibilty function

2010-02-23 Thread Shum
() -DBGoPosition() -Ordisdescend() -DACSession() -DBsession() -DBClientList() -DBScope() -DBSetScope() -DBClearScope() -RunShell() Thanks inadvanced ! Shum -- View this message in context: http://n2.nabble.com/Ask-Xbase-Compatibilty-function-tp4620179p4620179.html Sent from the harbour-devel

[Harbour] Re: Macro within codeblock ??

2010-02-22 Thread Shum
Ok... It should be solved Since Xbase++ all are late blinding changebAction := {|| &cFAction() } into bAction := {|| &(cFAction)() }seems is the solution ... Thanks ! Shum -- View this message in context: http://n2.nabble.com/Macro-within-c

[Harbour] Macro within codeblock ??

2010-02-22 Thread Shum
an give me any solution on this topic ... Shum -- View this message in context: http://n2.nabble.com/Macro-within-codeblock-tp4611984p4611984.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attachment siz

[Harbour] Ask for AADD(...) support 3rd parameter like in Xbase++

2010-02-21 Thread Shum
Hi harbour, I would like to ask the AADD() function can support for the 3rd parameter like in Xbase++ thansk inadvanced Shum -- View this message in context: http://n2.nabble.com/Ask-for-AADD-support-3rd-parameter-like-in-Xbase-tp4607984p4607984.html Sent from the harbour-devel mailing

[Harbour] Re: Ask for var2str(...) and str2var(...) pairs functions for harbour ...

2010-01-30 Thread Shum
Hi Harbour Developer, I am sorry, I have made the mistake ... the functions pair which I needed should be as follow: var2bin(...) and bin2var(...) (like in Xbase++ ) Shum -- View this message in context: http://n2.nabble.com/Ask-for-var2str-and-str2var-pairs-functions-for

[Harbour] Ask for var2str(...) and str2var(...) pairs functions for harbour ...

2010-01-29 Thread Shum
Hi Harbour developers, I want to ask for var2str(...) and str2var(...) pairs functions (something that in Xbase++) for harbour Or does it already there in harbour ? Please point me in right direction ... Shum -- View this message in context: http://n2.nabble.com/Ask-for-var2str-and-str2var

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

2009-12-26 Thread Shum
Hi Pritpal Bedi, Does hbxbp staick on top-bottom windows approach in screen coordinate system ? Shum vouchcac wrote: > > Revision: 11357 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11357&view=rev > Author: vouchcac > Date: 200

Re: [Harbour] Harbour next major release wishlist

2009-12-24 Thread Shum
inadvance ! Shum Pritpal Bedi wrote: > > > Hi > > > ShumWC wrote: >> >> I hope Harbour + hbqt + hbxbp can support (Traditional and Simpilifed) >> Chinese Character >> ASAP the OEM Code page is 950 and 936 >> > > Qt supports

Re: [Harbour] Harbour next major release wishlist

2009-12-24 Thread Shum
Hi All, I hope Harbour + hbqt + hbxbp can support (Traditional and Simpilifed) Chinese Character ASAP the OEM Code page is 950 and 936 Shum Viktor Szakáts wrote: > > Hi All, > > In the spirit of release enthusiasm it's now also > a good time to brainstor