Solved

Renaming a Windows CE DB in C++

Posted on 2000-03-08
2
283 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

17 Experts available now in Live!

Get 1:1 Help Now