摘要:
LRESULT CALLBACK LowLevelKeyboardProc(int nCode,WPARAM wParam,LPARAM lParam){ if(nCode ==HC_ACTION && wParam == WM_KEYDOWN) { KBDLLHOOKSTRUCT *kblp=... 阅读全文
摘要:
进程内设置文本,可以调用SetWindowText,跨进程这个会无效,应当如下:::SendMessage(hWnd, WM_SETTEXT, NULL, (LPARAM)文本内容); 注意这里不能使用PostMessage向另一进程某窗口发送回车键消息方法为:::PostMessage(hWnd,... 阅读全文
摘要:
http://blog.csdn.net/qq51931373/article/details/41084063转载自:http://blog.csdn.net/crazyhacking/article/details/9668267使用多个logger时,所有logger的配置写在一个配置文件里面... 阅读全文
摘要:
log4CXX第二篇---配置文件(properties文件)详解分类:KBE2014-11-13 18:20135人阅读评论(0)收藏举报http://blog.csdn.net/qq51931373/article/details/41084053转载自:http://blog.csdn.net... 阅读全文
摘要:
log4cxx入门篇先看官网:http://logging.apache.org/log4cxx/index.html转载自:http://wenku.baidu.com/view/d88ab5a9d1f34693daef3e62.html摘要Log4cxx是开放源代码项目ApacheLogging... 阅读全文
摘要:
#includeDWORDstatus=0;DWORDdwLen=sizeof(DWORD);if(!HttpQueryInfo(hRequest,HTTP_QUERY_STATUS_CODE|HTTP_QUERY_FLAG_NUMBER,&status,&dwLen,NULL)){CStrings... 阅读全文
摘要:
CString CLZYHDlg::SendCommd(CString Command){ BYTE BackBuf[1024]; memset(BackBuf,0,1024); int BackbufLen = 0; BYTE _SIMNo; BYTE WriteDataBuf[1024]; me... 阅读全文
摘要:
HWND hwndFound //= FindWindow(_T("RC352_Win32"),NULL); = GetConsoleWindow(); 阅读全文
摘要:
// 2_CAMDlg.cpp : 实现文件 //#include "stdafx.h" #include "2_CAM.h" #include "2_CAMDlg.h" #include "afxdialogex.h"#pragma comment(lib,"Strmiids") #pragma ... 阅读全文
摘要:
virtual LRESULT OnSysCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { if( wParam == SC_CLOSE ) { ::PostQuitMessage(0L); bHandle... 阅读全文