Impl execute sql

This commit is contained in:
Changhua 2022-08-12 23:12:01 +08:00
parent a091ab9e74
commit cade925cb1
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ int main()
auto mContact = WxGetContacts();
printContacts(mContact);
Sleep(1000); // 等待1秒
#if 0
// 测试获取数据库名
auto vDbNames = WxGetDbNames();
printDbNames(vDbNames);
@ -97,7 +97,7 @@ int main()
// 测试获取数据库中的表
auto vDbTables = WxGetDbTables(L"ChatMsg.db");
printDbTables(vDbTables);
#endif
while (1) {
Sleep(10000); // 休眠释放CPU
}

View File

@ -16,7 +16,7 @@ WxCalls_t wxCalls = { 0x2366538, // Login Status
{ 0x23668F4, 0x4C, 0x30, 0x44, 0x8C, 0x184, 0x1D0, 0x1E4, 0x1F8 },
/* Exec Sql:
Exec, base, start, end, slot, name*/
{ 0x141A4D0, 0x2363934, 0x1428, 0x142C, 0x3C, 0x50 } };
{ 0x141BDF0, 0x2366934, 0x1428, 0x142C, 0x3C, 0x50 } };
int LoadCalls(const wchar_t *version, WxCalls_t *calls)
{