I have three classes.
1: Header looks something like this:
type THeader =class(Tobject)
s : string
container : TObject;
type TPart = class(TObject)
sl : TStringList;
idList : TList;
and one class TProduct (looks almost like Tpart).
What I like to do is to convert this to Com objects.
But I can't fild out what to use instead of the TStringList,TList and TObject when I use interfaces instead.
I have one procedure
GetHeaderList(Var HeaderList : TList)
that goes thorugh a database and creates a list of header's
(Each header.Container contains a TPart or TProduct)
How do I implement this using Com objects. (what I mean is what should I use instead of TList, and TStringList (and TObject)
And how do I implement this when working with interfaces.