此帖出自嵌入式系统论坛
最新回复
CEOID CCeDBDatabaseEx::GetCurrRecord()
{
AssertValid();
DWORD dwCurrIndex;
CEOID CeOID = CeSeekDatabaseEx(m_hHandle,CEDB_SEEK_CURRENT,1,0,&dwCurrIndex);
if (CeOID)
{
CeOID = CeSeekDatabaseEx(m_hHandle,CEDB_SEEK_CURRENT,-1,0,&dwCurrIndex);
return CeOID;
}
else
//CEDB_SEEK_END dwValue为正
CeOID = CeSeekDatabaseEx(m_hHandle,CEDB_SEEK_END,0,0,&dwCurrIndex);
//ERROR_SEEK ---The seek operation did not find the specified row.
DWORD error = GetLastError();
return CeOID;
}
详情
回复
发表于 2009-3-2 15:13
| ||
|
||
| |
|
|
此帖出自嵌入式系统论坛
| ||
|
||
| |
|
|
此帖出自嵌入式系统论坛
| ||
|
||
EEWorld Datasheet 技术支持