winapi - Win32 How to flush I/O buffers of another process? -


i have application executes process , performs activity if hosted process crashes. unfortunately, looks final log buffers not getting flushed. have been searching windows api docs, can't find function can used flush process' disk io buffers. want able call _flushall() hosted process.

before resort stack tweaking @ crash-time, wanted check , see if has knowledge of api function need? or perhaps less invasive way accomplish same thing?

i'd avoid calling fflush after each log write if possible.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -