diff --git a/CWeChatRobot/SendArticle.cpp b/CWeChatRobot/SendArticle.cpp index 9a8c3c9575fb34c2134d4a098d8044bfb7f05c74..d156c0568327e6389f94a0960d7f1026caf58d28 100644 --- a/CWeChatRobot/SendArticle.cpp +++ b/CWeChatRobot/SendArticle.cpp @@ -11,6 +11,7 @@ struct SendArticleStruct { BOOL SendArticle(wchar_t* wxid, wchar_t* title, wchar_t* abstract, wchar_t* url, wchar_t* imgpath) { if (!hProcess) return 1; + DWORD WeChatRobotBase = GetWeChatRobotBase(); DWORD dwId = 0; DWORD dwWriteSize = 0; diff --git a/DWeChatRobot/SendArticle.cpp b/DWeChatRobot/SendArticle.cpp index 0cec23fd7d5e4abd10e59bcb7bde54a51bcbec21..db56ee53a5b2da452989ae472f1da03735c11e2f 100644 --- a/DWeChatRobot/SendArticle.cpp +++ b/DWeChatRobot/SendArticle.cpp @@ -101,7 +101,6 @@ BOOL __stdcall SendArticle(wchar_t* wxid,wchar_t* title, wchar_t* abstract, wcha WxBaseStruct pXml(xmlbuffer); WxBaseStruct pReceiver(wxid); WxString imgbuffer = { 0 }; - wcout << imgpath << endl; if (imgpath) { imgbuffer.buffer = imgpath; imgbuffer.length = wcslen(imgpath); diff --git a/Release/CWeChatRobot.exe b/Release/CWeChatRobot.exe index 744cd50baea7ea362c407ebec5e699f97da575be..cfed43cc7ea94e7f1184b4138989803baa2f26bc 100644 Binary files a/Release/CWeChatRobot.exe and b/Release/CWeChatRobot.exe differ diff --git a/Release/DWeChatRobot.dll b/Release/DWeChatRobot.dll index 1ccaa719e50bb0d749d6f23f35f72649a67fb3f6..b9cab1da76bcc18d7acd27732740b32e2eef22b8 100644 Binary files a/Release/DWeChatRobot.dll and b/Release/DWeChatRobot.dll differ