摘要:
转载自:http://xylvhp.blog.163.com/blog/static/31123614201101104644542/首先是,头文件必须包含以下两个:#include <winable.h>#include <atlconv.h>前者是SendInput函数要用到,后者是字符串转换的时候要用到。void SendAscii(wchar_t data, BOOL shift){ INPUT input[2]; memset(input, 0, 2 * sizeof(INPUT)); if (shift) { input[0].type = INPUT_KE 阅读全文