WCEDBTST

The WCEDBTST sample demonstrates how to use the CCeDBDatabase, CCeDBRecord, CCeDBProp, and CCeDBEnum classes to create, destroy, sort, enumerate, access, and edit a Windows CE database in the object store.

To test the various operations you can perform on a Windows CE database, select any of the following commands from the File menu.

These samples demonstrate the following keywords:

CCeDBDatabase::AddRecord CCeDBProp::GetString
CCeDBDatabase::Close CCeDBProp::GetUShort
CCeDBDatabase::Create CCeDBProp::operator =
CCeDBDatabase::Delete CCeDBProp::SetSortFlags
CCeDBDatabase::DeleteCurrRecord CCeDBProp::SetUShort
CCeDBDatabase::Exists CCeDBRecord::AddProps
CCeDBDatabase::GetCurrIndex CCeDBRecord::DeleteAllProps
CCeDBDatabase::GetCurrRecord CCeDBRecord::DeleteProp
CCeDBDatabase::GetLastModified CCeDBRecord::GetPropFromIdent
CCeDBDatabase::GetName CDC::GetTextMetrics
CCeDBDatabase::GetSortProps CDC::FillSolidRect
CCeDBDatabase::m_bAutoSeekNext CDC::DrawText
CCeDBDatabase::Open CDocument::UpdateAllViews
CCeDBDatabase::ReadCurrRecord CObArray::Add
CCeDBDatabase::SeekFirst CObArray::GetSize
CCeDBDatabase::SeekFirstEqual CObArray::RemoveAll
CCeDBDatabase::SeekLast CRect::OffsetRect
CCeDBDatabase::SeekNextEqual CScrollView::GetScrollPosition
CCeDBDatabase::SeekPrev CString::operator =
CCeDBDatabase::SeekToIndex CString::operator +=
CCeDBDatabase::SeekToRecord FileTimeToSystemTime
CCeDBDatabase::SetSortProps Sleep
CCeDBDatabase::WriteCurrRecord wsprintf
CCeDBEnum::Next

You can find the WCEDBTST project files in the Wce\Samples\Mfc\WCEDBTST directory.

To build the WCEDBTST sample, follow the procedure described in Building the Sample Applications, selecting one or more of the following project configurations.