download comctl32.dll v6.10 for xpsp3 ?

1 view
Skip to first unread message

R.Wieser

unread,
Jan 10, 2021, 2:44:31 PMJan 10
to
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

unread,
Jan 11, 2021, 1:32:25 AMJan 11
to
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.

R.Wieser

unread,
Jan 11, 2021, 2:04:45 AMJan 11
to
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.

> 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.

> 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


Reply all
Reply to author
Forward
0 new messages