Vb6 选择MS Script Control 1.0的语言作为Perl脚本时出错

Vb6 选择MS Script Control 1.0的语言作为Perl脚本时出错,vb6,perlscript,msscriptcontrol,Vb6,Perlscript,Msscriptcontrol,在我的VB6应用程序中,我使用scriptcontrol1.0通过我的应用程序运行外部脚本。但在运行时,我得到以下错误 "Error running Perl script: A script engine for the specified language can not be created." 我安装了ActivePerl 5.14,运行以下代码时出现错误: Dim perl As New ScriptControl perl.Language = "PerlScript" 知道问题

在我的VB6应用程序中,我使用
scriptcontrol1.0
通过我的应用程序运行外部脚本。但在运行时,我得到以下错误

"Error running Perl script: A script engine for the specified language can not be created."
我安装了ActivePerl 5.14,运行以下代码时出现错误:

Dim perl As New ScriptControl
perl.Language = "PerlScript"

知道问题是什么吗?

错误意味着无法找到匹配的语言引擎

确保在安装Active Perl时确实选择了
PerlScript
(至少在最新版本中默认选择):

成功安装将在
HKEY_CLASSES_ROOT
配置单元下创建
PerlScript
键。此键应具有带有活动脚本语言引擎CLSID的
CLSID
子键。应在系统中注册具有此CLSID的组件。在我的安装中,组件的二进制文件是
C:\Perl\bin\PerlSE.dll