msscript.ocx将在Windows 8上停止工作吗? [英] Will msscript.ocx stop working on Windows 8?

查看:141
本文介绍了msscript.ocx将在Windows 8上停止工作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处所述,该组件已成为Windows操作系统。但是,Windows 8和更高版本可能不支持VB6运行时。因此,我担心此组件可能也会消失(即使它是Windows OS的一部分)。我们将很快尝试通过使用Interop.MSScriptControl.dll的C#使用者来使用它。我什至已经看到有些人在 Windows7 。有谁成功在Windows 7和Windows Server 2008 R2上运行它?有人认为它仍然可以在Windows 8上运行吗?当前针对x86 32位CPU进行编译,认为64位系统会使用WoW64来使用它。谢谢!

As mentioned here, this component became a part of the windows operating system. However VB6 runtime may not be supported on Windows 8 and beyond. So I'm afraid this component may be going away too (even tho it is a part of windows OS). We are going to be attempting to utilize it via a C# consumer using Interop.MSScriptControl.dll, very soon. I've even seen some folks have issues with it on Windows7. Has anyone had success running it on Windows 7 and Windows Server 2008 R2? Does anyone think it will still work on Windows 8? Currently compiling for x86 32-bit CPU with thought that 64 bit system would use WoW64 to use it. Thanks!

推荐答案

ScriptControl(msscript.ocx)特定于32位Windows,并且特定于无法与Windows XP交互的较旧语言。 CLR / .Net。它在Windows 7的C:CWindows\System32(用于32位)和C:\Windows\SysWOW64(在64位)中继续存在。随着Microsoft逐步淘汰Windows OS的32位部分,这一点最终也将消失。

The ScriptControl (msscript.ocx) is specific to 32bit Windows and is specific to older languages that cannot interact with the CLR/.Net. It continues to exist on Windows 7 in C:\Windows\System32 for 32bit and C:\Windows\SysWOW64 for 64bit. With Microsoft slowly phasing out 32bit portions of the Windows OS, this will eventually go away, too. When that may happen is anyone's guess, though.

虽然可以在Windows OS的32位和64位版本中使用。NET,但仍有一个.NET等效项。

There is a .Net equivalent though that can be used in 32bit and 64bit flavors of the Windows OS.

.Net 1.1及更高版本通过 Visual Studio for Applications 。为此,在CodeProject上的一个示例项目为 .NET中的VSA脚本

.Net 1.1 and up provides this functionality through Visual Studio for Applications. An example project for this is on CodeProject named VSA Scripting in .NET.

在.Net 3.5中,使用 System.Management.Automation 名称空间。为此,在CodeProject上的示例项目为如何从C#运行PowerShell脚本

With .Net 3.5 this functionality has been deprecated in favor of Powershell using the System.Management.Automation namespace. An example project for this is on CodeProject named How to run PowerShell scripts from C#.

这篇关于msscript.ocx将在Windows 8上停止工作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆