Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

delphi - Microsoft Script Control 64 bit?

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:windowsSysWOW64 but there is no such file under System32 folder.

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...