Click here to Skip to main content
14,930,906 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
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
mveOriginalGriff15-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
professionalMycroft Holmes15-May-19 12:50 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 7:11
mva#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
mva#realJSOP15-May-19 5:14 
GeneralRe: Hard drive write latency problem Pin
Fueled By Decaff15-May-19 4:55
MemberFueled By Decaff15-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
mva#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
mva#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
mva#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
mva#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
mva#realJSOP15-May-19 4:30 
GeneralRe: Annoyed Pin
OriginalGriff15-May-19 3:57
mveOriginalGriff15-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
mva#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.