Hi,
Can some teach me how to read/write a TTable's BLOB field from a array.
Thanks.
Sia Teck Chong
> Hi,
> Can some teach me how to read/write a TTable's BLOB field from a array.
> Thanks.
Greetings,
Bruno
--
Bruno Van Wilder
Hewlett-Packard Research Labs, Bristol
Tel. +44-117-92 29548
"Today is the first day of the rest of your life"
1. Blobs: How to tell when I retrieved a null blob
Hi there,
To pass a blob by reference from 4gl to C functions, call your C function using
blob variable:
4gl code snippet:
-----------------
define MyBlobVar byte
--- some more stuff...
call MyCFunction( MyBlobVar )
In the C function, you get the blob using the function "poplocator":
C code snippet:
---------------
int MyCFunction( x )
int x;
{
loc_t *MyBlobVar; /* Blob structure */
/* Test parameter stack, etc */
poplocator( &MyBlobVar ); /* Gets address of blob */
/* even more stuff */
______________________________ Reply Separator _________________________________
Subject: Re: Blobs: How to tell when I retrieved a null blob
Date: 17/2/97 9:38 AM
3. Inserting a BLOB into an Oracle BLOB field.
4. California - Oracle Solutions Director
7. Can't use Blob in JAVA code to access Blob object
8. Newest version of database engine
9. Copy blob (image) portion to another blob
11. Blobs: How to tell when I retrieved a null blob
13. Inserting in a BLOB using oracle BLOB