在 Windows Vista 上,MS 添加了一些 API 调用,允许您查询 Windows 安全中心的状态,该状态应该告诉您是否安装了 A/V 软件。 显然,这不是一个特别通用的解决方案,也不是基于 Java 的解决方案,但这是我能想到的唯一方法,除了尝试安装病毒之外。 嗯 - 不要那样做!
On Windows Vista, MS added some API calls to allow you to query the status of the Windows Security Centre, which should tell you if A/V software is installed. Obviously this is not a particularly generic solution, nor a Java-based one, but it's the only way I can think of, short of attempting to install a virus. Um - don't do that!
Cant you tell the virus scanner to not scan the H2 DB files or at least scan them differently?
It sounds like you are going to a lot of trouble to work around something that may be more directly fixable. (believe me... Mc Afee used to put my workstation into Lockdown when i started debugging sometimes. I changed to AVG and it doess better.)
发布评论
评论(2)
在 Windows Vista 上,MS 添加了一些 API 调用,允许您查询 Windows 安全中心的状态,该状态应该告诉您是否安装了 A/V 软件。 显然,这不是一个特别通用的解决方案,也不是基于 Java 的解决方案,但这是我能想到的唯一方法,除了尝试安装病毒之外。 嗯 - 不要那样做!
On Windows Vista, MS added some API calls to allow you to query the status of the Windows Security Centre, which should tell you if A/V software is installed. Obviously this is not a particularly generic solution, nor a Java-based one, but it's the only way I can think of, short of attempting to install a virus. Um - don't do that!
您不能告诉病毒扫描程序不要扫描 H2 DB 文件或至少以不同的方式扫描它们吗?
听起来你会遇到很多麻烦来解决一些可能更直接可以修复的问题。 (相信我...当我有时开始调试时,Mc Afee 曾经将我的工作站置于锁定状态。我改为 AVG,效果更好。)
Cant you tell the virus scanner to not scan the H2 DB files or at least scan them differently?
It sounds like you are going to a lot of trouble to work around something that may be more directly fixable. (believe me... Mc Afee used to put my workstation into Lockdown when i started debugging sometimes. I changed to AVG and it doess better.)