OK编译通过,群主测吧
This commit is contained in:
parent
7efe6bce55
commit
d00edd8add
@ -235,13 +235,14 @@ void SendEmotionMessage(string wxid, string path)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SendXmlMessage(string receiver, string xml, string path, int type)
|
void SendXmlMessage(string receiver, string xml, string path, QWORD type)
|
||||||
{
|
{
|
||||||
if (g_WeChatWinDllAddr == 0) {
|
if (g_WeChatWinDllAddr == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
New_t funcNew = (New_t)(g_WeChatWinDllAddr + OS_NEW);
|
New_t funcNew = (New_t)(g_WeChatWinDllAddr + OS_NEW);
|
||||||
Free_t funcFree = (Free_t)(g_WeChatWinDllAddr + OS_FREE);
|
Free_t funcFree = (Free_t)(g_WeChatWinDllAddr + OS_FREE);
|
||||||
|
|
||||||
@ -270,11 +271,12 @@ void SendXmlMessage(string receiver, string xml, string path, int type)
|
|||||||
WxString* pReceiver = NewWxStringFromStr(receiver);
|
WxString* pReceiver = NewWxStringFromStr(receiver);
|
||||||
WxString* pXml = NewWxStringFromStr(xml);
|
WxString* pXml = NewWxStringFromStr(xml);
|
||||||
WxString* pPath = NewWxStringFromStr(path);
|
WxString* pPath = NewWxStringFromStr(path);
|
||||||
WxString* pType = NewWxStringFromStr(type);
|
|
||||||
|
|
||||||
wstring* pSender = NewWxStringFromStr(GetSelfWxid());
|
WxString* pSender = NewWxStringFromStr(GetSelfWxid());
|
||||||
|
|
||||||
|
//sendXmlMsgFunc(pBuf, pSender, pReceiver, pXml, pPath, reinterpret_cast<DWORD>(&nullBuf), pType, 0x4, sign, pBuf2);
|
||||||
|
sendXmlMsgFunc(pBuf, reinterpret_cast<UINT64>(pSender), reinterpret_cast<UINT64>(pReceiver), reinterpret_cast<UINT64>(pXml), reinterpret_cast<UINT64>(pPath), reinterpret_cast<UINT64>(&nullBuf), type, 0x4, sign, pBuf2);
|
||||||
|
|
||||||
sendXmlMsgFunc(pBuf, pSender, pReceiver, pXml, pPath, reinterpret_cast<DWORD>(&nullBuf), pType, 0x4, sign, pBuf2);
|
|
||||||
|
|
||||||
funcFree(reinterpret_cast<UINT64>(&buff));
|
funcFree(reinterpret_cast<UINT64>(&buff));
|
||||||
funcFree(reinterpret_cast<UINT64>(&buff2));
|
funcFree(reinterpret_cast<UINT64>(&buff2));
|
||||||
|
Loading…
Reference in New Issue
Block a user