🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15906

File flush under Windows 2000 and Windows 98

#15906
From: Lapo
Date: Sat, 07 Jun 2003 00:06
20 lines
1696 bytes
Hi all,
I'm coding an application that record an audio stream in a .wav file.
It records 24 hours on a single file (1 fie for every day).
The problem I have is that:
if the computer crash, I reboot then i check the file and I see that: under
Windows 2000 (with NTFS) the file length and content is correct (corrcet
size and no loss of data on the .wav file), under Windows 98 (with FAT32)
the file length is 0 bytes and the content is not correct (no bytes
recorded).
I suppose that Windows 2000 and 98 or NTFS and FAT32 manage the file flush
in a different way.
So there's a way to have the file (correct and working) also under Windows
98 like under Windows 2000?
In other words: There's a way to solve this problem?

Thanks for your help.

Lapo

PS. I hope to be clear... my english needs some improovements.
Technical Details
Message-ID: <3ee12c29@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f9a8db0f3611b1e5,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-06 17:06:40 PST
From: "Lapo" <lapoguidi@inwind.it>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: File flush under Windows 2000 and Windows 98
Date: Sat, 7 Jun 2003 02:06:38 +0200
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.98.131.177
Message-ID: <3ee12c29@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054944297 62.98.131.177 (6 Jun 2003 17:04:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail