|
MFC菜单
常规写法给控件List创建NM_RCLICK消息(可以用类向导)也可以手动添加。 再创建响应消息里面加载菜单资源,这样他只会再该(控件消息)List响应,才会弹出菜单。 CMenu PopMen; PopMen.LoadMenuW(IDR_MENU4); // 菜单ID POINT point; GetCursorPos(&point); CMenu *p = PopMen.GetSubMenu(0); p->TrackPopupMenu(TPM_LEFTBUTTON, point.x, point.y, this);
最后于 2020-9-20 15:56
被一半人生编辑
,原因:
|
|
MFC[求助]
基础问题,栈和堆。sum返回的是指针,sum内部局部变量会随着函数而析构或消亡,chSe指向了sum内部定义的内存,sum结束后或许指向的字符串不会立即消失,但是会根据栈的变化而覆盖。最稳妥方式chSe指针传递至sum函数内部,动态申请内存且拷贝至chSe。 |
|
[讨论]想做反外挂方面的技术
不想被误入歧途,学习路线先别规划特别长,就一年或两年。
最后于 2020-9-8 09:24
被一半人生编辑
,原因:
|
|
[原创]看我如何挖到库卡机器人的高危漏洞
涉及到硬编码,分值就会低,直拿shell危害确实不言而喻。 |
|
ISC 2020 - 科锐学员闪耀光芒
敏而好学 那他们之间,有多少技术是重叠的呢。 可以理解为一个是创造(0到1),一般都是基于win技术栈学习,基于x86/arm等架构技术栈学习,不等同于创新。 win下有不同的技术技巧也许都未挖掘,他还是要基于win才有用,这个是技术栈框架,技术思维越过系统越过底层架构,就可以思考创新。
最后于 2020-8-28 08:38
被一半人生编辑
,原因:
|
|
|
|
|
|
[求助]想写一个基于minifilter的文件、注册表、进程的监视工具,请问有什么开源的代码可以参考么?
不懂就不懂 我也使用了3环指定pid来过滤非特定进程的io请求,但是对于进程树相关的过滤我只有一个想法:就是遍历所有进程的父进程,判断其关联性。不清楚这个想法对么? Minfilter是对Sfilter的封装,使用了minfilter框架需要按照微软指定的套路来,minfilter文件权限管理这里可以提供一些思路,你可以更好的基于你写的项目来进一步学习构建。
最后于 2020-8-26 18:27
被一半人生编辑
,原因:
|
|
|
|
|
|
|
|
|
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值