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

2010-03-27 Thread Pritpal Bedi
Shum wrote: > > Without hbxbp (which depends on hbqt), it seems the only GUI (some syntx) > and greate for the Xbase++ to Harbour convertion. > It is _not_ the only GUI for Xbase++ to Harbour conversion. The other, but Windows only, implementation exists in Harbour under the name of GTWVG, th

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

2010-03-27 Thread Shum
Hi Teo, >HB_FUNC( POINTER2STRING ) >{ > PHB_ITEM p = hb_param( 1, HB_IT_POINTER ); > PHB_ITEM n = hb_param( 2, HB_IT_NUMERIC ); > > if( p && n ) > { > PHB_ITEM s = hb_itemNew( NULL ); > hb_itemPutCL( s, hb_itemGetPtr( p ), hb_itemGetNI( n ) ); >

[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-Pointer2Str-fu

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

2010-03-27 Thread Shum
Hi Pritpal Bedi, Without hbxbp (which depends on hbqt), it seems the only GUI (some syntx) and greate for the Xbase++ to Harbour convertion. For my Application (one source code for POS, Account, Payroll ...) with following dlls: mybas1, mybas2, myinit, myweb0, mygui0, myinet, myxlnk ... (conver

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

2010-03-27 Thread Pritpal Bedi
Shum wrote: > > Now I am converting my All systems (POS, Account, Payroll...) into > Harbour dueto Harbour is MultiPalform and more powerful ... and free . > > During Xbase++ to Harbour converting, I found that Harbour can help me > find out some mistake ... > those Xbase++ just let it p

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

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

2010-03-27 Thread Viktor Szakáts
We talked about the documentation a lot, but no one did actually write any documentation. We don't need _any_ tool to generate documentation, it can be written using something as simple as Notepad. It will never come from thin air. BTW as far as I could read form the messages there is no docu

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

2010-03-27 Thread Pritpal Bedi
Angel Pais wrote: > > Harbour is almost there but not yet. > In the long term it will prevale due its amazing development pace. > You are right, but still, we need more hands, which in general are missing. > BTW what is the state of those programs to generate documentation ? > I have prov

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

2010-03-27 Thread Angel Pais
Beleive me, I've tried. I brought here Pablo Botella but he is very bussy with work and actually only lurking. He is one of the best C++ programmers I know and has a deep knowledge of the Windows API. He could give us a lot in fields like OLE and inter-process communications. James Loughner tri

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

2010-03-27 Thread Angel Pais
That's right. One way of handle structures in Xbase++ is treat them as a string. BAP is a kind of translation lib to manage structures without having to use C. Mr Shum is a gentelman and a very good programmer who work for the metro of Hong Kong and needs to interface xbase programs with ticket

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

2010-03-27 Thread Pritpal Bedi
tfonrouge wrote: > > I'm still curios for knowing why do you need to pass/recover > pointers to strings. :) > If I am not mistaken, it has been a long time since I wrote something in Xbase++, that this compiler had no direct interface with BAP library and there had been no way to pass structu

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

2010-03-27 Thread Pritpal Bedi
Shum wrote: > > I just use the function during Xbase++ to Harbour converting ... > After that, I will re-think and re-write those part > Keep notes of all the facts you considered while porting from Xbase++ to Harbour, every detail if possible. It will help others during the same exerc

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

2010-03-27 Thread Teo Fonrouge
Hello Shum, On Mar 27, 2010, at 11:05 AM, Shum wrote: > > > 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 ... >

[Harbour] R: GTWVT and HB_INKEY_EXTENDED

2010-03-27 Thread Maurizio la Cecilia
I confirm same behaviour also using GTWIN as driver. So, could be my misunderstood in using extended keycodes? Maurizio la Cecilia > -Messaggio originale- > Da: Maurizio la Cecilia [mailto:m.laceci...@gmail.com] > Inviato: sabato 27 marzo 2010 0.15 > A: 'harbour@harbour-

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

2010-03-27 Thread vouchcac
Revision: 14250 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14250&view=rev Author: vouchcac Date: 2010-03-27 17:49:40 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 10:46 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbxbp/xbpgra.prg

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

2010-03-27 Thread Viktor Szakáts
BTW, by googling it I've found that very few Xbase++ developers even know about Harbour, and even those who know totally confuse it with xHarbour, which is a pretty large mistake to make for multiple reasons. Dunno how to change that, but current situation is not very good for us and for Harb

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

2010-03-27 Thread Pritpal Bedi
Viktor Szakáts wrote: > > As usual you don't trust me. > A very ridiculous statement... - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis_&_design_ -- View this message in context: http://n2.nabble.com/SF-net-SVN-harbour-project-1424

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

2010-03-27 Thread Viktor Szakáts
> Viktor Szakáts wrote: >> >> It should be GraInitMatrix() without the 'e'. >> > > Yep, and I was suseptible also. > Then I searched it in Xbase documentation and could not find. > Then I copy/pasted Shum's message chunk just to be sure > that I am not mistaking. Let us hear from Shum. Google i

[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: SF.net SVN: harbour-project:[14249] trunk/harbour

2010-03-27 Thread Pritpal Bedi
Viktor Szakáts wrote: > > It should be GraInitMatrix() without the 'e'. > Yep, and I was suseptible also. Then I searched it in Xbase documentation and could not find. Then I copy/pasted Shum's message chunk just to be sure that I am not mistaking. Let us hear from Shum. -

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

2010-03-27 Thread Viktor Szakáts
> Log Message: > --- > 2010-03-27 10:12 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) > * contrib/hbxbp/xbpgra.prg >+ GraInitMaterix(...) Xbase++ compatible dummy function. It should be GraInitMatrix() without the 'e'. Brgds, Viktor ___ Har

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

2010-03-27 Thread vouchcac
Revision: 14249 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14249&view=rev Author: vouchcac Date: 2010-03-27 17:17:37 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 10:12 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbxbp/xbpgra.prg

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

2010-03-27 Thread vszakats
Revision: 14248 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14248&view=rev Author: vszakats Date: 2010-03-27 17:15:17 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 18:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat * bin/

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

2010-03-27 Thread Pritpal Bedi
Shum wrote: > > 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() > This function is not par

[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 Thanks ! Shum

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

2010-03-27 Thread Teo Fonrouge
Hello Shum, On Mar 27, 2010, at 9:16 AM, Shum wrote: > > Hi Teo, > > I am converting my Xbase++ application into Harbour... > > Within my Xbase++ Application, I use BAP lib which are function for calling > C function within Xbase++ > and it has a function called Stringof() same as Pointer2Str(

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

2010-03-27 Thread vszakats
Revision: 14247 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14247&view=rev Author: vszakats Date: 2010-03-27 16:43:23 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 17:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat * bin/

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

2010-03-27 Thread vszakats
Revision: 14246 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14246&view=rev Author: vszakats Date: 2010-03-27 16:02:05 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 17:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

[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. ___

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

2010-03-27 Thread Petr Chornyj
Hi Shum, If I remember correctly, you can find these functions in the library xhb (I mean HB_String2Pointer and HB_Pointer2Str) Regards, Petr -- View this message in context: http://old.nabble.com/Ask-Str2Poniter%28%29-and-Pointer2Str%28%29-function-pair--tp28042446p28053187.html Sent from

[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 (attachment size limit

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

2010-03-27 Thread Shum
Hi Teo, I am converting my Xbase++ application into Harbour... Within my Xbase++ Application, I use BAP lib which are function for calling C function within Xbase++ and it has a function called Stringof() same as Pointer2Str() Without the Stringof() or similiar function I had to do mu

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

2010-03-27 Thread Teo Fonrouge
Hello Shum, On Mar 26, 2010, at 7:29 AM, Shum wrote: > > 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 ...) Ma

[Harbour] hbmk2 log error

2010-03-27 Thread Itamar Lins
Hi! how to direct the output of errors to a file ? Best regards, Itamar M. Lins Jr. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2010-03-27 Thread vszakats
Revision: 14245 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14245&view=rev Author: vszakats Date: 2010-03-27 12:44:42 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 13:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmisc/hbmisc.hbc

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

2010-03-27 Thread vszakats
Revision: 14244 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14244&view=rev Author: vszakats Date: 2010-03-27 12:27:08 + (Sat, 27 Mar 2010) Log Message: --- 2010-03-27 13:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmisc/Makefile

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

2010-03-27 Thread Viktor Szakáts
My suggestion is not use such function at all. Brgds, Viktor On 2010 Mar 27, at 12:57, Shum wrote: > > Hi Viktor, > > I often ask some function which I need here dueto I am not a C programer, > I cannot write C (low level) function for myseft within harbour as I like. > > However, I follow

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

2010-03-27 Thread Shum
Hi Viktor, I often ask some function which I need here dueto I am not a C programer, I cannot write C (low level) function for myseft within harbour as I like. However, I follow the C and Harbour style ... and try to write the StrngOf(nPtr) function aas follow: Please point me if it is correct

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

2010-03-27 Thread Viktor Szakáts
Hi, Harbour is a high level language, so it will never support such concepts are direct pointer / buffer manipulation. It's also not safe, not portable and can easily cause GPF in various different ways. If these are not important factors for you, you can create such functions in C. Brgds,