IPropertyStore->Commit error when trying to update media attributes
I am trying to develop an application that reads and updates media information using Microsoft Media Foundation. I am able to read and display media attributes such as title, year etc. however when i try to update the same media, it gives an error. IPropretyStore->SetValue returns success however IPropertyStore->Commit returns "Access denied". I am getting this error not matter where the file is, any directory, within librerary etc.
For testing purpose I am using .mp3 file and the binary has been compiled using SDK 7.1 and Windows 7 OS (Home Premium), any help to fix this will be greatly appreciated.