If both types have a common ancestor (assuming they are objects), then yes, it is possible. Can you post your type definition? (Or perhaps it is some Delphi type I've never used before?)
With Delphi 9, do you mean 2009 ? If so, you can use generics .
Btw, I'm collecting interesting links here , perhaps you find something useful there.
pritaeas
Posting Expert
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 874
Those are not compatible. Don't think you can do this an easy way without changing these types. Generics would be your best bet in my opinion.
pritaeas
Posting Expert
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 874