Hi Norbert I am guessing that ODBX_CAP_BASIC is 0, and ODBX_CAP_LO is 1 and when i feed both of these to odbx_capabilities(), I get (1) returned so I think the windows build I downloaded yesterday supports the LO interface for Firebird.
I tried making my odbx_field_value() method return a structure with an integer as pointer, but I then only get the value of 132, so I guess I'm doing something wrong, or, there is an issue with the Rebol library interface. On Tue, Jul 6, 2010 at 6:17 PM, Norbert Sendetzky <norb...@linuxnetworks.de> wrote: > Hi Graham > >> Now the docs here >> http://www.linuxnetworks.de/doc/index.php/OpenDBX/C_API/odbx_field_value >> say that "All values except binary objects are handed back as strings >> terminated by the zero character." but what does it return for CLOBs? >> >> If I pass whatever I get back so far to odbx_lo_open, I get an error >> about not being able to access the blob. > > odbx_field_value() does also return the handle for odbx_lo_open if the large > object interface is supported (odbx_capabilities(ODBX_CAP_LO) can be used to > find out) and the column is a BLOB/CLOB column. > > http://linuxnetworks.de/doc/index.php/OpenDBX/C_API/odbx_capabilities > > I've also added more details to the documentation about this. > > > Norbert > -- > OpenPGP public key > http://www.linuxnetworks.de/norbert.pubkey.asc > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > libopendbx-devel mailing list > libopendbx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libopendbx-devel > http://www.linuxnetworks.de/doc/index.php/OpenDBX > > -- Graham Chiu http://www.compkarori.co.nz:8090/ Synapse - the use from anywhere EMR. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX