realbasic-betas.mbox
[Top] [All Lists]

Re: stdout.write broken?

To: "REALbasic Betas" <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: stdout.write broken?
From: "Aaron Ballman" <aaron at realsoftware dot com>
Date: Mon, 26 Jul 2004 09:18:53 -0500
Delivered-to: realbasic-betas at lists dot realsoftware dot com
References: <CB2FA5DD-DEC0-11D8-AC77-000393411DC8 at xtra dot co dot nz>
> looking at the data stdout.write appears to be either skipping data or
> just plain corrupting the data...has anyone else seen this?  any
> suggestions?

I've yet to see it in any of my projects, and I don't think that
StdOut.Write is broken (it just does a simple C printf under the hood, kinda
tough to break that), so I'm guessing it's something with your code.

I'm just wondering why you don't do this:

StdOut.Write( inStream.ReadAll )

instead of grabbing 100 bytes at a time and sending them.  Does that make a
difference with the data that gets sent?

~Aaron

_______________________________________________
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>