regsvr32 ActiveFormProj1.ocx 提示 runtime error 217 at 009aea39,该如何处理
regsvr32 ActiveFormProj1.ocx 提示 runtime error 217 at 009aea39
在注册ocx时候
先提示
应用程序发生异常 未知软件异常 (0x0eedfad),位置为0x7c81eb33
点确定后
runtime error 217 at 009aea39
这个。。 是注册的问题 还是程序生成ocx时候有问题呢?
------解决方案--------------------
library ButtonXControl1;
uses
ComServ,
ButtonXControl1_TLB in 'ButtonXControl1_TLB.pas',
ButtonImpl1 in 'ButtonImpl1.pas' {ButtonX: CoClass};
{$E ocx}
exports
DllGetClassObject,
DllCanUnloadNow,
DllRegisterServer,
DllUnregisterServer;
{$R *.TLB}
{$R *.RES}
begin
end.
看看这里有没有少了东西
在注册ocx时候
先提示
应用程序发生异常 未知软件异常 (0x0eedfad),位置为0x7c81eb33
点确定后
runtime error 217 at 009aea39
这个。。 是注册的问题 还是程序生成ocx时候有问题呢?
------解决方案--------------------
library ButtonXControl1;
uses
ComServ,
ButtonXControl1_TLB in 'ButtonXControl1_TLB.pas',
ButtonImpl1 in 'ButtonImpl1.pas' {ButtonX: CoClass};
{$E ocx}
exports
DllGetClassObject,
DllCanUnloadNow,
DllRegisterServer,
DllUnregisterServer;
{$R *.TLB}
{$R *.RES}
begin
end.
看看这里有没有少了东西