Microsoft Script Control 64 位? [英] Microsoft Script Control 64 bit?
问题描述
是否有 64 位的 msscript 控件?我谷歌了一下,都说还没有 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:windowsSysWOW64 下找到了 msscript.ocx 但 System32 文件夹下没有这个文件.
It gives me a 'Class Not Registered' error. I only found msscript.ocx under C:windowsSysWOW64 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
而且我在我的应用程序中只更改了几行代码,它基于这个 ScriptControl64 在 64 位中工作.
and I have changed only a few lines of code in my application and it works in 64-bit based on this ScriptControl64.
这篇关于Microsoft Script Control 64 位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!