<
[EMAIL PROTECTED]>
wrote:
> Hi Robert,
>
>> The readsome() returns if data isn't available yet, it doesn't
wait
>> like read. You could try changing the code across to using
read() and
>> gcount() to find out how many bytes have been read.
>>
>> What platform are you working on?
>
> Just to add another report, I get the same error as Lionel:
>
> DataInputStream::readCharArray(): Failed to read char value.
>
> I'm using the zlib binary that was in Mike's 3rdParty binaries for
> Visual Studio 8.0 SP1, which I think is the one that was compiled
with
> libpng (not built separately). Not sure if that has any bearing on
the
> problem, just thought I'd mention it.
>
> I don't have time to debug this myself, so I'll hang back and let
others
> puzzle it out. I can give plenty of moral support though! :-)
>
> J-S