Re: Writing Binary Files with TFileStream
- From: "Rick Francken" <rick@xxxxxxxxxxxxxxxx>
- Date: Tue, 22 Nov 2005 19:28:19 -0500
Robert,
What happens if you change the name of your variable "e" to something else
like "EndValue"?
Just a hunch that may be completely invalid, but you are putting this in a
try..except block, and the exception handling mechanism can use a temporary
variable named "e" for an exception instance. Is it possible there is a
conflict there?
-Rick Francken
"Robert Kilroy" <kilroy@xxxxxxxxx> wrote in message
news:1132689084.579697.18380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Ya... I've looked at the output in a hex editor and it seems to be a
> jumbled mess. Even if I open the file, perform no edits on it and
> resave it exactly as opened, the resulting file is a disaster.
>
> There aren't any empty entries either, they are cleaned before the
> save. I preview the file before saving it just to be sure. I know I
> need to do a bit more error checking, I'll see what I can do about
> that. But I doubt that's the issue, well atleast I'm not 100% sure. :)
>
.
- Follow-Ups:
- Re: Writing Binary Files with TFileStream
- From: Rob Kennedy
- Re: Writing Binary Files with TFileStream
- From: Robert Kilroy
- Re: Writing Binary Files with TFileStream
- References:
- Writing Binary Files with TFileStream
- From: Robert Kilroy
- Re: Writing Binary Files with TFileStream
- From: Robert Kilroy
- Re: Writing Binary Files with TFileStream
- From: Andreas Koch
- Re: Writing Binary Files with TFileStream
- From: Robert Kilroy
- Writing Binary Files with TFileStream
- Prev by Date: Re: Writing Binary Files with TFileStream
- Next by Date: Re: Writing Binary Files with TFileStream
- Previous by thread: Re: Writing Binary Files with TFileStream
- Next by thread: Re: Writing Binary Files with TFileStream
- Index(es):