Can I delete the sub-layer in another process?

花气袭人知昼暖 2011-08-31 10:55:32
Hi guys.

I'm using WFP to develop a firewall application, but I've come across a problem. First I add a sub-layer and then I add some filters on the sub-layer. But if my application crashes, I cannot found a way to delete the filters or the sub-layer until the machine reboot.

So my question is, is there any way to delete the sub-layer or filters in another process?

Any reply is appreciated, thank u.
...全文
174 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
su_jianlin 2011-08-31
  • 打赏
  • 举报
回复
xunxun 2011-08-31
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 wardensky 的回复:]

WFP = Windows Filtering Platform
[/Quote]
这个就没用过了
等大神来解释
  • 打赏
  • 举报
回复
WFP = Windows Filtering Platform
maoxing63570 2011-08-31
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 xunxun1982 的回复:]

引用 3 楼 maoxing63570 的回复:

引用 2 楼 xunxun1982 的回复:

WFP是啥

估计是写错了,应该是WPF吧?
我猜的

那就移步.net吧……
[/Quote]
V5
xunxun 2011-08-31
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 maoxing63570 的回复:]

引用 2 楼 xunxun1982 的回复:

WFP是啥

估计是写错了,应该是WPF吧?
我猜的
[/Quote]
那就移步.net吧……
maoxing63570 2011-08-31
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 xunxun1982 的回复:]

WFP是啥
[/Quote]
估计是写错了,应该是WPF吧?
我猜的
xunxun 2011-08-31
  • 打赏
  • 举报
回复
WFP是啥
  • 打赏
  • 举报
回复
原帖是发在msdn的论坛上的,因为那边回复比较慢,所以直接copy到这里,没有翻译,不好意思。
百事烟 2011-08-31
  • 打赏
  • 举报
回复
求翻译
pathuang68 2011-08-31
  • 打赏
  • 举报
回复
[Quote=引用 13 楼 gykgod 的回复:]

When some words like sub-layer,filters,process appear to me . I always think LZ is zhuangbility.
[/Quote]

--

这样说不太好吧...人家练练英文木有什么不对哦...
他英文还真不错滴,再说你这不也用英文在回复人家嘛...呵呵
gykgod 2011-08-31
  • 打赏
  • 举报
回复
When some words like sub-layer,filters,process appear to me . I always think LZ is zhuangbility.

gykgod 2011-08-31
  • 打赏
  • 举报
回复
U are a big noob!
pathuang68 2011-08-31
  • 打赏
  • 举报
回复
I think it's a better practice to add exception handling mechanism in you application rather than trying deleting those sub-layer or filters in another process.
pathuang68 2011-08-31
  • 打赏
  • 举报
回复
Your English is quite good!
  • 打赏
  • 举报
回复
Problem solved.

I enumerate all the filters and delete the filters added by me.

64,654

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧