HP3000-L Archives

March 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Uwe Rienaecker <[log in to unmask]>
Reply To:
Uwe Rienaecker <[log in to unmask]>
Date:
Thu, 14 Mar 2002 04:16:59 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
"James Clark,Florida" wrote:
>
> Uwe,
>         You probably received your information but the display routines will
> probably terminate at a null character which is a given for binary data. Try
> casting it to a binary value like integer then print the integer. But the
> better way given that binary data could be larger than 2 or 4 words is to
> get its length and parse it one byte at a time display the chr of the value.
>
>         James
Hi James,

you are right. When i bind the columns as SQL_C_BINARY and parse the
buffer one byte at time i get the desired information.

thanks

Uwe

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2