05 2015 档案
摘要:#define WM_TRAYICON_MSG (WM_USER+100) public: afx_msg void OnBnClickedButTuo(); BOOL TrayMyIcon(BOOL bAdd=TRUE); LRESULT OnTrayCallBackMsg(WPARAM wparam, LPARAM lparam);添加消息映射 ON_MESSA...
阅读全文
摘要:std::string ws2s(const std::wstring& str) { char* pElementText; int iTextLen; // wide char to multi char iTextLen = WideCharToMultiByte(CP_ACP, 0, str.c_str(), -1, NULL, 0, NUL...
阅读全文
摘要:主程序类中初始化中先包含头文件#include "VAuthLib.h" 调试模式时使用,便于调试
阅读全文
摘要:/ MFC_DLL.cpp : 定义 DLL 的初始化例程。 // #include "stdafx.h" #include "MFC_DLL.h" #include "WgDlg.h" #include #ifdef _DEBUG #define new DEBUG_NEW #endif CWgDlg * GameForm = NULL; HWND GameHwnd = NULL; ...
阅读全文
摘要:发信消息void CControlDlg::OnBnClickedButtonSend(){ // TODO: 在此添加控件通知处理程序代码 CString strWindowTitle = _T("ClientDemo"); CString strDataToSend = ...
阅读全文
摘要://任务二叉树遍历 void CMission::InitMission(DWORD base) { char *name=""; if (*(BYTE *)(base+0x1bd)==0) { name=GetMissionName(base); TRACE("无码-读取任务名称:%s",name); InitMiss...
阅读全文

浙公网安备 33010602011771号