首页 新闻 会员 周边

IE无法加载64位ocx控件。

0
悬赏园豆:5 [待解决问题]

首选32位的ocx控件是没有问题的!但是键ocx编译成x64的,并且使用管理员权限运行64位的IE去加载ocx,就获取不到对象。不能使用ocx中的方法。

 

<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA_Compatible" content="IE=11">
<title>Demo_OCX网页加载</title>
<script src="td_video.js"></script>
<script type="text/javascript">
function init(){
TiandyVideo.MyMethod();
}

</script>
</head>
<body>
<div id="ocxDiv" style="width:1200px;height:600px;border:red 1px solid ;">
<OBJECT id="TiandyVideo" classid="clsid:E61F403A-80AE-4BBB-9FB7-2E8E172476C1" width="100%" height="100%"></OBJECT>
</div>
<BUTTON type="button" id="btnSubmit" onclick="init();">初始化ocx</BUTTON>
</body>
</html>

纯新手的主页 纯新手 | 初学一级 | 园豆:197
提问于:2017-10-26 20:33
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册