|
|
|
[已解决]在dll中CreateWindow,建立WndProc后,被注入的程序失去响应
犯糊涂了,看来是困了: 不是消息处理的问题,而是在case DLL_PROCESS_ATTACH: 中有这么一句: while (GetMessage (&msg, NULL, 0, 0)) { //xxx } 这句在窗口被关闭前是不会终止的。也就是我们主线程loadlibary之后一直在这个循环里游荡,所以没有干其他事情了,导致原来的窗口没有相应。 我的解决方法:CreateThread,在新线程里处理消息循环。已测试,可行。 不知是否还有别的方法? |
|
[原创]直接修改内核对象隐藏进程
好东西,支持,留名。 |
|
[讨论]SEH 程序栈的变化
朋友对seh很有研究嘛,谢谢你的文章了,晚了没时间看了,注释一下以后慢慢看:) |
|
|
|
|
|
[讨论]32为操作系统位运算是否是32位的,不能发生16位的位运算?
谢谢XPoy,很详细。 再一个问题,char是二字节,也即8位bit。32位、16位对char类型没有影响罢,它最少得够表示ASCII,最多亦然 文章上写错了,应该是8位。 这个确实不影响,不过我开始以为char a = (0b01001111<<2)>>2 = 0b00001111;,因为我认为此时因为有char的存在,位操作是以8位为准的,但其实应该是全部转换成int先算完了再转换回来char,失算啊,呵呵。 不过这又出现了个问题,也就是char->int转换的是按照signed还是unsigned,int->char转换的是按照signed还是unsigned。 这个尚未知晓。 |
|
[讨论]大家几时睡觉呢?
还没睡,最近啊。。。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值