微软脚本控制的64位?微软、脚本

2023-09-09 21:15:14 作者:奔放洋气吴世勋

有64位任何msscript控制? 我google了一下,都说没有64位尚未

Is there any msscript control in 64 bit? I google a bit and all say no 64-bit yet

这是我需要64位msscript.ocx的原因是,我想用XE3在64位编译的Delphi项目。

The reason that I need 64bit msscript.ocx is that I want to compile delphi projects in 64-bit using XE3.

它编译于XE3确定,我已经获得了64位的exe文件,但是当它执行到下面的行,

It compiles OK in XE3 and I have obtained a 64-bit exe but when it executes to the following line,

  script := TScriptControl.Create(nil);

这给了我一个类未注册的错误。我才发现,在C msscript.ocx:\ WINDOWS \ Syswow64资料但在System32文件夹中没有这样的文件

It gives me a 'Class Not Registered' error. I only found msscript.ocx under C:\windows\SysWOW64 but there is no such file under System32 folder.

我真的希望这个工作,所以任何快速更换的呢?

I really want this to work so any quick replacement for this?

推荐答案

这是一个古老的职位。但我只是找到了一个很好的替代64位MSScript控制(微软没有64位msscript.ocx)

This is an old post. but I just found a very good alternative to 64-bit MSScript Control (Microsoft does not have 64-bit msscript.ocx)

http://www.eonet.ne.jp/~gakana/ tablacus / scriptcontrol_en.html

和我在我的应用程序改变了code只有几行,并以64位在此基础上ScriptControl64工作。

and I have changed only a few lines of code in my application and it works in 64-bit based on this ScriptControl64.