FileDB
所属分类:Windows Phone
开发工具:Visual C++
文件大小:7KB
下载次数:16
上传日期:2009-05-11 14:08:36
上 传 者:
peng576
说明: 文件数据库文件数据库文件数据库文件数据库文件数据库文件数据库文件数据库文件数据库
(Database database database database database database database database)
文件列表:
FileDB\FileDB.cpp (18159, 2007-03-30)
FileDB\FileDB.sln (2690, 2007-03-30)
FileDB\FileDB.vcproj (9172, 2007-03-30)
FileDB (0, 2009-02-23)
Code Sample Name: FileDB
Feature Area: EDB
Description:
This sample demonstrates how an application that used CEDB can been ported
to use EDB. Using #ifdef EDB both the CEDB and EDB versions are shown in the
sample. If you would like to build for CEDB just remove the #define EDB
at the top of the FileDB.cpp file.
This sample is very simple; it creates a database with 3 rows and populates
it with the names, size and time of the files in a directory. The database
is then closed and opened sorted by date, time and size respectively.
The results are shown in Visual Studio 2005 debug output window.
Usage:
Load the project from Visual Studio 2005, and build and deploy normally.
Relevant APIs/Associated Help Topics:
EDB/CEDB
CeOidGetInfoEx2
CeMountDBVol
CeCreateDatabaseWithProps
CeCreateSession
CeOpenDatabaseInSession
CeSeekDatabaseEx
Assumptions: none.
Requirements:
Visual Studio 2005,
Windows Mobile 6 Professional SDK or
Windows Mobile 6 Standard SDK
Activesync 4.5.
** For more information about this code sample, please see the Windows Mobile
SDK help system. **
近期下载者:
相关文件:
收藏者: