08 2020 档案

摘要:C风格 #include <iostream> #include <string> #include <cstring> using namespace std; int main() { string a="abcdefghigklmn"; char *b="def"; char *c="123" 阅读全文

posted @ 2020-08-09 15:37 bobob 阅读(6045) 评论(0) 推荐(0)

摘要:在dll中,我们或多或少的需要获取加载dll的当前窗口的句柄 下面就有一种方法: 通过EnumWindows枚举所有窗口在比较传入的当前进程的PID与枚举的进程的线程ID。 如果相同,这就返回枚举到的句柄,并结束枚举 GetWindowThreadProcessId哪个线程创建了这个窗口,返回的就是 阅读全文

posted @ 2020-08-07 20:48 bobob 阅读(1238) 评论(0) 推荐(0)

导航