Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EDB Database File access

6 views
Skip to first unread message

디벨

unread,
Aug 24, 2009, 8:25:01 AM8/24/09
to

hi,
I am a beginner and developing an application under Windows Mobile 6.1.

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?


0 new messages