Hi All,
I am very new to DELPHI PASCAL Programming.
I have imported the TLB file using Component->Import Component. I would like to use the class of the component and call its method.
for that i have declared class object like
type
TSam1 = class(SampleClass)
end;
and called the method of it as
TSam1.DisplayResult();
I am getting "E2076 This form of method call only allowed for class methods." Can anyone please guide me, where i am going wrong.
Thankyou,