On Sun, 10 Jan 2021 20:44:12 +0100, R.Wieser wrote:
> Hello all,
>
> I'm trying to create a sorted list of records, and thougth that the DSA_
> family of functions would fit the job.
>
> The problem is that that I, on XPsp3, seem to have the v5.82 file version
> (6.00 product version) of that DLL, which doesn't seem to include the
> DSA_Sort function, nor its 346 ordinal.
>
> I tried to do some binary searching before inserting, but thats /way/ to
> slow when adding records in reverse-sorted order.
DSA_Sort is available in Vista+ COMCTL32.DLL.
> Question: Can I just download the v6.10 version from somewhere and use that
> ? Are there gotyas I should be aware of ?
I think it's possible. For Vista+ DLLs. You'll also need the corresponding
MUI files (e.g. COMCTL32.DLL.MUI), which should be stored in a separate
subfolders of the folder where the DLL is located. e.g. `en-us` for
US-English MUI.
> If not, does anyone know of a listing of the sorting method DPA_Sort uses ?
Dunno, but I'm guessing it's quicksort because it's simple and quite fast.
i.e. no need to use top performance sorting algorithm whose code is
significantly bloated. Considering that the performance difference is not
that great.