|
|
|
[求助]关于CreateMutex,CloseHandle的调用问题?
LexSafe 翻了翻MSDN,确实是我理解错了,第二次拿到的确实是有效句柄。但是这样问题不是很清楚了吗,第一次创建了互斥体,引用计数为1,第二次打开互斥体,引用计数为2,然后你closehandle,引用计数变为1 ...实不相瞒,我也测试过2次CloseHandle,仍然无效呀 |
|
[求助]关于CreateMutex,CloseHandle的调用问题?
LexSafe 你想用第二次运行的closehandle 关闭第一次创建的句柄? 那怎么可能,第二次拿到的就是无效句柄,怎么还能操作呢亲,核心编程中讲过跨进程访问内核对象句柄第三种方式:使用命名的内核对象的方式,这里CreateMutex就是用的命名的内核对象,所以即使在另一个进程中也是可以直接使用的,所以你说的第二次拿到的是无效句柄这里不对。MSDN:If the mutex is a named mutex and the object existed before this function call, the return value is a handle to the existing object, and the GetLastError function returns ERROR_ALREADY_EXISTS. |
|
[原创]看雪科技获永洲创投500万天使轮投资
恭喜恭喜。。。 |
|
[原创]COM接口函数通用Hook方法
写的非常不错,给你点个赞!!! |
|
应用软件启动服务程序的权限问题?
用SC_MANAGER_CONNECT的话OpenSCManager是可以,但是后面的OpenService就不行了 |
|
应用软件启动服务程序的权限问题?
怎么提? |
|
应用软件启动服务程序的权限问题?
传SC_MANAGER_ALL_ACCESS,openscmanager的getlasterror=5,拒绝访问 |
|
[讨论][原创]感觉看雪的牛人最后…………
亲的标题挺吸引人啊,适合做文案策划啊,请受小弟一拜 |
|
HOOK API-DeleteFile中遇到的问题?
OK了,对应模块加载进去就好了。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值