From: Benjamin R. <Ben...@ep...> - 2004-03-30 14:32:30
|
Hi Stefan, Stefan Viljoen <ry...@in...> writes: > [...] under Linux it works fine, saving the 6.3 meg buffer to > disk. In Windows it does not - it simply creates a file with zero > bytes size. Reducing the amount of data to 6.05 meg in the fwrite > call WORKS in Windows. Trying to fwrite anything more than that > immediately again results in a zero bytes file size in Windows > compiling with MingW. [...] This should work. While the fwrite() is in MS's runtime and not under our control, I'd expect it to work. Can you reproduce the problem with a small 20-line program that you can post and that we can try ourself? benny |