你的OCX是如何安装的?OCX是否在管理员群组下安装的?
以下链接告诉你在Vista以上的系统,对activex安装需要做的处理:
http://technet.microsoft.com/en-us/library/cc721964%28WS.10%29.aspx
以下链接告诉你在Vista以上的系统,对activex安装需要做的处理:
http://technet.microsoft.com/en-us/library/cc721964%28WS.10%29.aspx
调试欢乐多
1、可能你的安装程序本身也有权限问题。
检查你安装ocx的程序是否以管理员身份运行。2、最好参考一下链接的说明。通读一遍,至少了解怎么安装ocx才更合适。
Many organizations must install ActiveX controls on their desktops in order to ensure that a variety of programs that they must use on a daily basis will work properly. However, most ActiveX controls must be installed by a member of the Administrators group and many organizations have configured or want to configure their users to run as standard users, which are non-administrative users that are members of the Users group.从使用便利角度看,ocx可以拥有比IE高的权限,也应该是合理的;不然又是怨声载道了。
Many organizations must install ActiveX controls on their desktops in order to ensure that a variety of programs that they must use on a daily basis will work properly. However, most ActiveX controls must be installed by a member of the Administrators group and many organizations have configured or want to configure their users to run as standard users, which are non-administrative users that are members of the Users group.从使用便利角度看,ocx可以拥有比IE高的权限,也应该是合理的;不然又是怨声载道了。
从msdn找到有关佐证:http://msdn.microsoft.com/en-us/library/Bb250462.aspx
•Two higher privilege broker processes allow Internet Explorer and extensions to perform elevated operations given user consent.
Many organizations must install ActiveX controls on their desktops in order to ensure that a variety of programs that they must use on a daily basis will work properly. However, most ActiveX controls must be installed by a member of the Administrators group and many organizations have configured or want to configure their users to run as standard users, which are non-administrative users that are members of the Users group.从使用便利角度看,ocx可以拥有比IE高的权限,也应该是合理的;不然又是怨声载道了。
从msdn找到有关佐证:http://msdn.microsoft.com/en-us/library/Bb250462.aspx
•Two higher privilege broker processes allow Internet Explorer and extensions to perform elevated operations given user consent.不知道呢,在http://tech.it168.com/d/2007-12-05/200712041740771.shtml里面,貌似说不行
Many organizations must install ActiveX controls on their desktops in order to ensure that a variety of programs that they must use on a daily basis will work properly. However, most ActiveX controls must be installed by a member of the Administrators group and many organizations have configured or want to configure their users to run as standard users, which are non-administrative users that are members of the Users group.从使用便利角度看,ocx可以拥有比IE高的权限,也应该是合理的;不然又是怨声载道了。
从msdn找到有关佐证:http://msdn.microsoft.com/en-us/library/Bb250462.aspx
•Two higher privilege broker processes allow Internet Explorer and extensions to perform elevated operations given user consent.不知道呢,在http://tech.it168.com/d/2007-12-05/200712041740771.shtml里面,貌似说不行
他那帖子说明的主要是进程间访问的Integrity level问题。你还没回复我,是否以管理员身份注册这个OCX?若没有,重新注册,看结果如何?
Many organizations must install ActiveX controls on their desktops in order to ensure that a variety of programs that they must use on a daily basis will work properly. However, most ActiveX controls must be installed by a member of the Administrators group and many organizations have configured or want to configure their users to run as standard users, which are non-administrative users that are members of the Users group.从使用便利角度看,ocx可以拥有比IE高的权限,也应该是合理的;不然又是怨声载道了。
从msdn找到有关佐证:http://msdn.microsoft.com/en-us/library/Bb250462.aspx
•Two higher privilege broker processes allow Internet Explorer and extensions to perform elevated operations given user consent.不知道呢,在http://tech.it168.com/d/2007-12-05/200712041740771.shtml里面,貌似说不行
他那帖子说明的主要是进程间访问的Integrity level问题。你还没回复我,是否以管理员身份注册这个OCX?若没有,重新注册,看结果如何?[/quote
你说的注册时怎么注册,我这个控件是打包成cab,点击网页按钮的时候,就会自动下载安装(包括注册)这个控件啊,那如果以管理员身份注册的意思是说以管理员启动IE?还是说用REGSVR32 来注册?,谢谢了,PS:如果是用管理员身份,使用REGSVR32 来注册,或者IE 以管理员身份启动来注册,均尝试了,并且以失败告终,恩,非常感谢那么有耐心的大神
Many organizations must install ActiveX controls on their desktops in order to ensure that a variety of programs that they must use on a daily basis will work properly. However, most ActiveX controls must be installed by a member of the Administrators group and many organizations have configured or want to configure their users to run as standard users, which are non-administrative users that are members of the Users group.从使用便利角度看,ocx可以拥有比IE高的权限,也应该是合理的;不然又是怨声载道了。
从msdn找到有关佐证:http://msdn.microsoft.com/en-us/library/Bb250462.aspx
•Two higher privilege broker processes allow Internet Explorer and extensions to perform elevated operations given user consent.不知道呢,在http://tech.it168.com/d/2007-12-05/200712041740771.shtml里面,貌似说不行
他那帖子说明的主要是进程间访问的Integrity level问题。你还没回复我,是否以管理员身份注册这个OCX?若没有,重新注册,看结果如何?[/quote
你说的注册时怎么注册,我这个控件是打包成cab,点击网页按钮的时候,就会自动下载安装(包括注册)这个控件啊,那如果以管理员身份注册的意思是说以管理员启动IE?还是说用REGSVR32 来注册?,谢谢了,PS:如果是用管理员身份,使用REGSVR32 来注册,或者IE 以管理员身份启动来注册,均尝试了,并且以失败告终,恩,非常感谢那么有耐心的大神
另,你上面发的那个链接里面说的 Activex Installer Service,我的电脑里面没有
楼主姑且看看吧
http://blog.csdn.net/frankiewang008/article/details/27083413,《Windows Vista IE保护模式深度剖析》(如果打不开链接的话,自己百度这个关键字);这里面的解释是“系统不光是查看资源对象的ACL,还要查看进程和资源对象各自的完整性级别(Integrity Level)”,IE的完整性级别是"LOW",只能访问完整性同为"LOW"的目录,
默认情况,系统中只有以下几个文件夹访问完整性为"LOW"
(1) IE临时文件: %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low
(2) 系统临时目录: %userprofile%\AppData\Local\Temp\Low
(3) Cookies: %userprofile%\AppData\Roaming\Microsoft\Windows\Cookies\Low
(4) 历史: %userprofile%\AppData\Local\Microsoft\Windows\History\Low
就是说你只可以操作这些文件夹下的文件、文件夹
所以那些楼主不需要看了刚刚尝试往C:\\123\\1.jpg写文件能成功;尝试C:\\1.jpg失败
win8,ocx是用VS2012 C++写的一个摄像头调用控件貌似只是不能放系统盘根目录