none
EDB Database File access RRS feed

  • 질문


  • 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?

    2009년 8월 24일 월요일 오후 12:15