• download comctl32.dll v6.10 for xpsp3 ?

    From R.Wieser@21:1/5 to All on Sun Jan 10 20:44:12 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Mon Jan 11 08:04:34 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JJ@21:1/5 to R.Wieser on Mon Jan 11 13:32:22 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)