one is "Project\Import Type Library...":前期绑定
——但是前期绑定根本就不成功啊,在Delphi4里,在Import Type Library对话框里
把我的DLL加进去后并不能象在Delphi5里一样在工具栏上找到我加进去的ActiveX Dll,
请问,具体应该怎么前期绑定?
后期绑定我稍后再试。
谢谢你的回复。
two methods
one is "Project\Import Type Library...":
前期绑定,成员列表在设计阶段整合在IDE中
the other is latest binding(后期(Run time)绑定):
欢迎到 http://simideal.top263.net
下载 Delphi(PB) 调用 VB 编 ActiveX Dll(DataReporPlus) 例程
参考代码:
uses
....comobj;
...
var
X: OleVariant;
...
procedure XXX();
begin
x:=CreateOleObject('datareportplus.bardatareport');
end;
...