Renaming a Windows CE DB in C++

Using the Windows CE toolkit and C++ is it possible to rename a DB entry on Windows CE, that is the actual "table" rather than a field within it ?

Thanks, Simon.
Who is Participating?
FordraidersConnect With a Mentor Commented:
From msdn

static void Pascal ReName(LPCTSTR /pszOldName, LPCTSTR
lpszNewName); throw( CEFileException)


Try also Rename in KB on microsoft. CE Documentation.

ssherlockAuthor Commented:
Thanks for that.  Further investigation showed that BOOL CeSetDatabaseInfo (CEOID oidDbase, CEDBASEINFO *pNewInfo);
or BOOL CeSetDatabaseInfoEx (PCEGUID pguid, CEOID oidDbase, CEDBASEINFO *pNewInfo);

can be used for renaming DB's on Windows CE.
Cheers, Simon.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.