View Single Post
Old 21st March 2007, 12:25   #42  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
I thought wtf too, so I tried it and watched with process monitor. Opening MPC performs synchronous I/O hundreds of times because of a naive system. Reg keys are made to be opened, locked, read, unlocked, and closed thousands of times a second with no problem, but doing that with real files gets you in trouble. Every operation, like opening a file, causes dozens more reads plus a single write. If it was asynch I/O it probably wouldn't be a problem, but MFC is so amazingly inept that it doesn't. CMPlayerCApp::Settings::UpdateData would all have to be rewritten to use a custom ini/registry handler to fix that, unless there's a way to override MFC functions.
foxyshadis is offline