Du kannst/musst angeben von welchem Typ "T" sein muss.
Du kannst da z.B. "class" verwenden oder einen Basistypen:
Delphi-Quellcode:
class Function GetClient<T: class>(Addr: string):T;
// oder
class Function GetClient<T: THTTPRIO>(Addr: string):T;
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."