Re: Very Interesting File Problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



"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.


.



Relevant Pages

  • Re: mex breakdown
    ... mysteriously vanishing accessability of EXE files. ... If you didn't update your virus scanner or the virus scanner didn't ... successfully MEX and the first time you were not able to MEX. ...
    (comp.soft-sys.matlab)
  • What is "av.exe"?
    ... My virus scanner says I have a trojan horse in "c:\\windows\av.exe" and it ... This is the first time I used the antivirus software, ...
    (microsoft.public.windowsxp.general)
  • bluescreen/stop error.
    ... Had a friend ask me, when he run a virus scan with verizon's virus scanner, ... had a blue screen with writing. ... fatal system error, system shutdown. ...
    (microsoft.public.windowsxp.help_and_support)