I want to modify EDB file such as mxip_lang.vol, mxip_system.vol and etc..
I tried open the file using xxxx API, but some files were not opend
with error code "Other process is using the files." or "Access deny".
Modify the contents of this file, or want to do it
I used this function
///////////////////////////////////////////////////////////
CEGUID guid;
CREATE_SYSTEMGUID(&guid);
TCHAR szVolume[MAX_PATH];
CEVOLUMEOPTIONS moPim = {0};
moPim.wVersion = CEVOLUMEOPTIONS_VERSION;
moPim.dwFlags = CEDB_BUFFERPOOL;
moPim.cbBufferPool = 256 * 1024;
StringCchCat(szVolume, 1024, TEXT("mxip_lang.vol"));
BOOL brs = CeMountDBVolEx(&guid, const_cast<LPWSTR>(szVolume), &moPim,
OPEN_EXISTING |
EDB_MOUNT_FLAG);
if(!brs)
{
DWORD dwError = GetLastError(); // 32 or other
}
///////////////////////////////////////////////////////////
How to do modify and viewing (*.vol) files?