Mail Archives: djgpp/1999/06/12/09:00:34
Hmmm, yeah I hate Windows file caching sometimes too. A simple solution is to
run it from straight DOS.
The other way is to get a program like CacheMan (which I think is Freeware)
that lets you adjust Win9x's virtual disk cache. A note though, turning off
disk caching in Windows is a bad practice. Windows buffers many things and
turning off the vcache will grind your PC to a halt.
My third advice is to use a debugger to find the exact location of the crash,
then next time, check all the values of the variables that could be causing
the crash.
Cheers,
leroy.
"Andrew R. Gillett" wrote:
> I ran my game on a friend's PC to test it, and it crashed immediately -
> hanging the whole system. When this happens, it doesn't create a logfile
> as it normally does. I suspect this is probably due to write-behind
> caching in Win98 - is there any way I can make it so that it creates the
> file as soon as I call fopen, and writes to the file as soon as I call
> fprintf?
>
> --
> Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage
> "You will be strung from a tree and your liver pecked out by ravens if you
> do not keep up payments." - Alexei Sayle
- Raw text -