Solved

Renaming a Windows CE DB in C++

Posted on 2000-03-08
2
287 Views
Last Modified: 2013-12-27
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
Comment
Question by:ssherlock
2 Comments
 
LVL 3

Accepted Solution

by:
fordraiders earned 100 total points
ID: 2609011
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
 

Author Comment

by:ssherlock
ID: 2611565
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now