bool CWizDocumentStatusChecker::checkDocumentEditStatus(const QString& strKbGUID, const QString& strGUID)
{
    QString strRequestUrl = WizFormatString4(_T("%1/get?obj_id=%2/%3&t=%4"),
                                             WizKMGetDocumentEditStatusURL(),
                                             strKbGUID,
                                             strGUID,
                                             ::WizIntToStr(GetTickCount()));

    return checkDocumentEditStatus(strRequestUrl);
}
Exemple #2
0
CString CWizIndexBase::FormatQuerySQLByTime(const CString& strTableName,
                                            const CString& strFieldList,
                                            const CString& strFieldName,
                                            const COleDateTime& t)
{
    return WizFormatString4(_T("select %1 from %2 where %3 >= %4"),
                            strFieldList,
                            strTableName,
                            strFieldName,
                            TIME2SQL(t));
}