Viktor,
Any chance you can update /SVN/harbour/contrib/hbtpathy/tests/tptest.prg
with the code below as it is broken at present.
telepath.prg has nTimeout which defaults to 0 so without a timeout
parameter passed to tp_send it fails.
function main
? tp_open( 1,, 9600, 8, "N", 1 )
tp_send( 1, "Hi there Bob", 1 ) // One second timeout
tp_inkey( .5 )
? tp_recv( 1 )
?
tp_Close( 1 )
return nil
[...@jackodesktop hbr]$ hbmk2 testtp
hbmk: Processing configuration: /usr/bin/hbmk.cfg
hbmk: Processing: hbtpathy.hbp
Harbour 1.1.0dev (Rev. 10678)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'testtp.prg'...
Lines 10, Functions/Procedures 1
Generating C source output to 'testtp.c'... Done.
[...@jackodesktop hbr]$ testtp
0
Hi there Bob
[...@jackodesktop hbr]$
Regards, Barry
Viktor Szakáts wrote:
Thanks for the feedback.
Brgds,
Viktor
On Mon, Mar 23, 2009 at 3:42 PM, Barry Jackson <[email protected]
<mailto:[email protected]>> wrote:
@Przemek
Thanks - rpm builds fine now - I will check out your other comments.
@Viktor
The latest SVN has cured the hbtpathy problem - many thanks!
[...@jackodesktop hbr]$ testsend
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ...
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour