On Wed, 15 Oct 2014 01:48:58 +0000
Sergey via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> Now it's like:
> DBCHAR[255] table_field;
> dbbind(dbconn, 1, NTBSTRINGBIND, 0, cast(BYTE*)&table_field);
> 
> But I need to may be:
> ubyte[] ubyte_value = [];
> dbbind(dbconn, 1, NTBSTRINGBIND, 0, ubyte_value);
> (it does not work of course)

cast to the rescue! any pointer is an array too. just cast it!
`cast(ubyte[])table_field`, for example.

Attachment: signature.asc
Description: PGP signature

Reply via email to