Hi,
I'm trying to sort two objects with the TListSortCompare function, but I can't make the function work, and the help files are not helping. I want to sort a TList comparing the score two objects have. Anybody who can give me a pointer??
typedef int __fastcall (*TListSortCompare)(void * Item1, void * Item2);
Thanks / J
I'm trying to sort two objects with the TListSortCompare function, but I can't make the function work, and the help files are not helping. I want to sort a TList comparing the score two objects have. Anybody who can give me a pointer??
typedef int __fastcall (*TListSortCompare)(void * Item1, void * Item2);
Thanks / J