[VNET 1.0] Error wirth VCursor.Add + Update Methods
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Mar 10 10:45:41 CST 2006
On 3/10/06 10:29 AM, "SoftIl" <softil at onlinehome.de> wrote:
> But now I've got a new problem with the kBOLB field:
> If I store an value from type byte[] in a blob-field,
> I get not an byte[] return.
> For excample:
>
> ...
> Array array = null;
> VBLOB blobValue;
> byte[] myValue = new byte[]
> (_cursor[_index] as VBLOB).WriteBLOBData(myValue as Array);
> blobValue = (_cursor[_index] as VBLOB);
> blobValue.ReadBLOBData(ref array,blobValue.Length);
> myValue = _array as byte[]; //returns NULL
> ...
> How can I prevent the translation of my valuetypes if I write it in a blob
> field?
>
>
> And a last question:
> How can I write data in a kPicture field?
> _cursor[_index] = myValue; //it doesn't work. //myValue is a picture as
> byte[]
Carsten,
I VERY VERY VERY recommend switch to VNET 2.0
You remember that VNET 1.x was raw and buggy.
I think no sense try to fight with its bugs.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list