www.gusucode.com > VC++写的QQ农场辅助源代码及分析资料源码程序 > VC++写的QQ农场辅助源代码及分析资料源码程序\code\qq农场源代码\qq农场源代码\JEINWEB.cpp
// JEINWEB.cpp: implementation of the CJEINWEB class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "SKSGODweb.h" #include "JEINWEB.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CJEINWEB::CJEINWEB() { } CJEINWEB::~CJEINWEB() { } ///api.php?mod=user&act=run&flag=1&ownerId=86319653 BOOL GetOneInfo(CString ownerId) { CString web = (CString)WEB_GETONEINFO + ownerId; char *buf=new char[MAX_PACK]; if (buf==0) { AfxMessageBox("GetOneInfo 申请指针出错"); return 0; } else { jein_gethtml(web,buf,MAX_PACK); if (strstr(buf,"farmlandStatus")==0) { jein_outinfo("获取个人信息时, farmlandStatus 出错"); } ////////////////////////////////////////////////////////////////////////// } return 1; } // Download by http://www.NewXing.com BOOL GetOneInfo(DWORD ownerId) { CString str; str.Format("%d",ownerId); return GetOneInfo( str); }