• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

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.
0
ssherlock
Asked:
ssherlock
1 Solution
 
FordraidersCommented:
ssherlock,
Try,
From msdn

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

CFile:Rename

Try also Rename in KB on microsoft. CE Documentation.
fordraiders



0
 
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.

0
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now