Re: Very Interesting File Problem
- From: "Michael C" <nospam@xxxxxxxxxx>
- Date: Thu, 23 Nov 2006 11:21:42 +1100
"Mike Williams" <Mike@xxxxxxxxxxxxxxxxx> wrote in message
news:ORdNUuoDHHA.2176@xxxxxxxxxxxxxxxxxxxxxxx
I've been using VB for many years now, writing all sorts of files to disk,
and this is the first time I have ever encountered the problem that I
currently have. I'll get around it of course, but in the meantime it is
still a very interesting problem and something that I imagine many
programmers (including myself!) have never before considered might happen
to their code in the field.
I recently decided to write a little bit of code to mess about creating
and manipulating 8 bpp greyscale .bmp files
Interesting, i've been doing exactly the same thing over the last couple of
days. I'd almost think you're one of my other personalities. I think you'll
find that writing the bitmapfileheader out to disk doesn't work correctly
because the first value is a 16 bit int which causes the second value to be
aligned to 32 bits. I could be wrong on that as I was using an API call to
write the file and don't really know the ins and outs of the put command.
Either way something must be wrong with your file because nothing triggered
on my machine, although I'm using sophos instead of mcaffee.
BTW, this is why I turn off automatic file cleaning/deleting you never know
when a virus scanner is going to get it wrong. I once had a virus scanner
pick up a textfile as a virus because it had the name of a virus in it.
.
- Follow-Ups:
- Re: Very Interesting File Problem
- From: Mike Williams
- Re: Very Interesting File Problem
- From: Karl E. Peterson
- Re: Very Interesting File Problem
- References:
- Very Interesting File Problem
- From: Mike Williams
- Very Interesting File Problem
- Prev by Date: Re: Very Interesting File Problem
- Next by Date: Re: Very Interesting File Problem
- Previous by thread: Re: Very Interesting File Problem
- Next by thread: Re: Very Interesting File Problem
- Index(es):
Relevant Pages
|