Impl Login
This commit is contained in:
parent
6d86f4be99
commit
66f5090359
@ -57,12 +57,11 @@ int main()
|
||||
|
||||
wprintf(L"WxInitSDK: ");
|
||||
status = WxInitSDK();
|
||||
wcout << status << endl;
|
||||
wprintf(L"%d\n", status);
|
||||
if (status != 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// 获取消息类型
|
||||
wprintf(L"获取消息类型\n");
|
||||
const MsgTypesMap_t WxMsgTypes = WxGetMsgTypes();
|
||||
@ -97,7 +96,7 @@ int main()
|
||||
// 测试获取数据库中的表
|
||||
auto vDbTables = WxGetDbTables(L"ChatMsg.db");
|
||||
printDbTables(vDbTables);
|
||||
|
||||
#endif
|
||||
while (1) {
|
||||
Sleep(10000); // 休眠,释放CPU
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include "load_calls.h"
|
||||
|
||||
#define SUPPORT_VERSION L"3.7.0.29"
|
||||
WxCalls_t wxCalls = { 0x23631D0, // Login Status
|
||||
#define SUPPORT_VERSION L"3.7.0.30"
|
||||
WxCalls_t wxCalls = { 0x2366538, // Login Status
|
||||
{ 0x236307C, 0x23630F4, 0x2363128 }, // User Info: wxid, nickname, mobile
|
||||
0x521D30, // Send Message
|
||||
/* Receive Message:
|
||||
|
Loading…
Reference in New Issue
Block a user