Click here to Skip to main content
14,268,370 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 3:44
professional  Forogar  15-May-19 3:44 
GeneralRe: Hard drive write latency problem Pin
Michael Breeden15-May-19 3:51
memberMichael Breeden15-May-19 3:51 
GeneralRe: Hard drive write latency problem Pin
OriginalGriff15-May-19 3:59
protectorOriginalGriff15-May-19 3:59 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 4:25
professional  Forogar  15-May-19 4:25 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 3:59
professional  Forogar  15-May-19 3:59 
GeneralRe: Hard drive write latency problem Pin
Mycroft Holmes15-May-19 12:50
memberMycroft Holmes15-May-19 12:50 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 7:11
mve#realJSOP15-May-19 7:11 
GeneralRe: Hard drive write latency problem Pin
Randor 15-May-19 4:52
professional Randor 15-May-19 4:52 
Hi,

Michael Breeden wrote:
problem of hard drive write latency

Liquid Nitrogen.

Michael Breeden wrote:
but I am getting an error that the converted file is not accessible

The scenario you are giving does not make a lot of sense to me. It sounds more like something has obtained an exclusive lock on the newly created file. Most likely Windows Defender or whatever third-party security product you are using.

From your service when you create the file... use the LockFile function after calling CreateFile with the FILE_FLAG_NO_BUFFERING flag. Hold the lock for the entire time and finally after you copy the file to the final destination release it.

Best Wishes,
-David Delaune
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 5:14
mve#realJSOP15-May-19 5:14 
GeneralRe: Hard drive write latency problem Pin
Fueled By Caffeine15-May-19 4:55
memberFueled By Caffeine15-May-19 4:55 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 5:40
professional  Forogar  15-May-19 5:40 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 7:13
mve#realJSOP15-May-19 7:13 
GeneralRe: Hard drive write latency problem Pin
Dr.Walt Fair, PE15-May-19 5:26
professionalDr.Walt Fair, PE15-May-19 5:26 
GeneralAnnoyed Pin
#realJSOP15-May-19 3:23
mve#realJSOP15-May-19 3:23 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 3:39
memberPeejayAdams15-May-19 3:39 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 4:29
mve#realJSOP15-May-19 4:29 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 5:09
memberPeejayAdams15-May-19 5:09 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 7:23
mve#realJSOP15-May-19 7:23 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 22:10
memberPeejayAdams15-May-19 22:10 
GeneralRe: Annoyed Pin
lw@zi 15-May-19 3:42
professional lw@zi 15-May-19 3:42 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 4:30
mve#realJSOP15-May-19 4:30 
GeneralRe: Annoyed Pin
OriginalGriff15-May-19 3:57
protectorOriginalGriff15-May-19 3:57 
GeneralRe: Annoyed Pin
Richard Deeming15-May-19 7:04
mveRichard Deeming15-May-19 7:04 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 7:23
mve#realJSOP15-May-19 7:23 
GeneralRe: Annoyed Pin
RedDk15-May-19 7:53
memberRedDk15-May-19 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.