Re: Callback function for failed disk write?
- From: "m" <m@xxx>
- Date: Sun, 13 Nov 2005 23:14:25 -0500
Suffice to say that, for you purposes, in a high-level language like VB or
VB.NET, just call the WriteFile equivalent function. If it fails, check the
error code; if it succeeds, assume that the data was written to disk. The
OS will fail a write immediately if there is not enough disk space.
"TC" <aatcbbtccctc@xxxxxxxxx> wrote in message
news:1131934526.803147.167950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'm a bit confused at this point :-)
>
> Say you have a "write to file" function in a high level language such
> as VBA.
>
> Is this true, or false: A write (using that function) could succeed,
> but some time later, the actual write-to-disk might fail because of a
> disk full error. So, even though the PC remains up & running, there is
> no immediate way for the application to be certain whether the data was
> actually written, or not.
>
> I do understand transactions, ACID & all that stuff. I'm just confused,
> now, as to the impact, on normal file-write statements, of the fact
> that Windows buffers the writes behind the scenes.
>
> TIA,
> TC
>
.
- Follow-Ups:
- Re: Callback function for failed disk write?
- From: David J. Craig
- Re: Callback function for failed disk write?
- References:
- Re: Callback function for failed disk write?
- From: Pavel A.
- Re: Callback function for failed disk write?
- From: Hector Santos
- Re: Callback function for failed disk write?
- From: Hector Santos
- Re: Callback function for failed disk write?
- From: Hector Santos
- Re: Callback function for failed disk write?
- From: Vincent Fatica
- Re: Callback function for failed disk write?
- From: Hector Santos
- Re: Callback function for failed disk write?
- From: Vincent Fatica
- Re: Callback function for failed disk write?
- From: Hector Santos
- Re: Callback function for failed disk write?
- From: TC
- Re: Callback function for failed disk write?
- Prev by Date: Re: Generating Icon Files
- Next by Date: Re: Callback function for failed disk write?
- Previous by thread: Re: Callback function for failed disk write?
- Next by thread: Re: Callback function for failed disk write?
- Index(es):
Relevant Pages
|