Hi all,
as from subject:
how does it is mapped the "hyper" UNO type in StarBasic?
The question is because I ever had problems in basic when working with
css.io.XSeekable methods (that takes or gets hyper values)
Example:
REM ***** BASIC *****
Sub TestUCB
oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess")
oFile = oUcb.OpenFileReadWrite("file:///home/paolo/img.png")
oInputStream = createUnoService("com.sun.star.io.DataInputStream")
oInputStream.setInputStream(oFile.getInputStream())
' print oFile.getLenght 'error!!!
' oFile.seek(5) 'error!!!
oFile.seek(CreateUnoValue("hyper", 5)) 'No problem......
oInputStream.closeInput
End Sub
thank you
Paolo M
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]