Discussion:
download comctl32.dll v6.10 for xpsp3 ?
(too old to reply)
R.Wieser
2021-01-10 19:44:12 UTC
Permalink
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.

Question: Can I just download the v6.10 version from somewhere and use that
? Are there gotyas I should be aware of ?

If not, does anyone know of a listing of the sorting method DPA_Sort uses ?

Regards,
Rudy Wieser

P.s.
Currently I'm using a DSA_ and DPA_ side-by-side, the latter for storage and
the former for its fast sorting & finding capabilities, but would like to
combine them.
JJ
2021-01-11 06:32:22 UTC
Permalink
Post by R.Wieser
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.
Post by R.Wieser
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.
Post by R.Wieser
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.
R.Wieser
2021-01-11 07:04:34 UTC
Permalink
JJ,
Post by JJ
DSA_Sort is available in Vista+ COMCTL32.DLL.
Yes, that is what I found too. I'm not at all sure that that DLL would be
fully compatible with XP though. Hence the question.
Post by JJ
You'll also need the corresponding MUI files (e.g.
COMCTL32.DLL.MUI),
Thanks for mentioning that. I'll have to do some googeling to figure out
what they are for.
Post by JJ
Dunno, but I'm guessing it's quicksort because it's simple and quite fast.
You can say "quite fast" again. 50,000 elements in reverse-sort order
sorted by DPA_Sort in a fraction of a second (including reading the actual
sort data from a DSA_ ).

I'll probably take a look at the disassembled listing of DPA_Sort, hoping I
can recreate it for DSA.

Regards,
Rudy Wieser

Loading...