How to use an event which is declared in a type library in Delphi
Hi everyone ,
I have a C#.dll which I've add it to Delphi 7 (with type library import). I can use all the precedures and functions and properties of this type library successfully .
my problem is that I have a public event in this dll which I want to use it in Delphi but I don't know how to reach this event.
this is how I declare a variable as my dll class and use its properties and procedures :
procedure TForm1.Button1Click(Sender: TObject);
intrf : ISalesService;
intrf := CreateComObject(CLASS_SalesService) as ISalesService;
intrf.Start(9000,'COM1',4000); //use a procedure
I can see all the public procedures like Start in the intrf. list ,but I couldn't see any of its public events .
I'll appretiate any help