From: Gautier Write-only <gautier@fakeaddress.nil>
Subject: Re: Read Binary File
Date: Mon, 03 Nov 2003 23:34:37 +0100
Date: 2003-11-03T23:34:37+01:00 [thread overview]
Message-ID: <3FA6D7FC.8E62A4A8@fakeaddress.nil> (raw)
In-Reply-To: 6449213e.0311030756.64346802@posting.google.com
Frank Mattison:
# Does anyone have a suggestion for reading this binary file?
#
# Situation: OpenVMS, Alpha, Ada '83. Binary file created by C++ program.
# Use_Error raised on first byte. We regularly read Ada-generated
# binary files, but the C++ source in new.
If I remember well my painful experiences with the
tandem {DEC Ada & Sequential_IO}, there is one carriage return
expected after each element (in your case, each byte!).
Try to write some date with your Byte_IO and see the result
in a binary editor...
I suspect Larry's reply is the good way (hum, but specific to DEC Ada...)
________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, e-mail address on the Web site!
next prev parent reply other threads:[~2003-11-03 22:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 15:56 Read Binary File Frank Mattison
2003-11-03 16:00 ` Lutz Donnerhacke
2003-11-03 16:37 ` Read Binary File (on Compaq Ada) Larry Kilgallen
2003-11-03 22:34 ` Gautier Write-only [this message]
2003-11-04 3:24 ` Read Binary File Steve
2003-11-05 10:11 ` Thierry Lelegard
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox