Microsoft Script Control 64 bit?

∥☆過路亽.° 提交于 2019-12-12 07:20:56

问题


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

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

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);

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?


回答1:


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

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




回答2:


The msscript component was not ported to 64 bit. It's a legacy component and MS chose not to put the effort into migrating it to 64 bit. You'll simply need to find another way to do whatever it is you do with that component.



来源:https://stackoverflow.com/questions/15549308/microsoft-script-control-64-bit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!