Windows 8.1 Pro x64 - crash comctl32.dll

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *petermad »

If I under Window 7 enable it ( PreventScrollbarCrash=1), then the first time in a session when I use Lister, I see the little Lister window in the upper left corner where the final window is going to be showed - this is the same as I see under Window 8.1.

So it seems that the function can be enabled manually, even when not needed (Windows 7), and also be disabled manually (PreventScrollbarCrash=0) under Windows 8.1, if you are not haunted by the bug, and don't want to see the extra Lister window. If I dont set the parameter under windows 8.1 it defaults to 1, and it defaults to 0 under windows 7.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *ghisler(Author) »

1) It depends, and explaining it there would be too extensive.
2) TC has to open a hidden Lister window (and keep it open) to prevent the crash. This lister window has to be visible for a short moment, otherwise it has no effect.
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *Dalai »

Then maybe add a link to this thread to the help file so interested people can read more about the issue and the TC option.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *Flint »

2ghisler(Author)
2) I meant, describe it in the help, not here, so that other users could find this information without having to search for this specifit topic on your forum (which they don't know exists, in the first place).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *ghisler(Author) »

It's not something the normal user needs to change.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *Flint »

2ghisler(Author)
If a normal user starts seeing unexpected blinking Lister windows it's definitely something he might want to change, and there must be information at his disposal about why this happens, what needs to be done to avoid it, and what the caveats are. Right now, he has nothing of this sort, so he cannot make a correct decision. He has to go and search the official forum for the answer (and what if he has no Internet at the moment?), and read the long thread, instead of being provided a simple one-sentence explanation in the help file.

You considered this an important enough issue to dedicate a special key for handling it. In my opinion, if it deserves an option, it certainly deserves an explanation what this option does.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *petermad »

May I suggest something like this in TC's Help:
PreventScrollbarCrash=0/1 - defaults to 1 on Windows 8.1, otherwise defaults to 0. Opens an extra Lister window the first time Lister is used in a session. The window is made invisible after loading of the main Lister window - this is to prevent a potential crash in Lister under Windows 8.1 when opening Lister several times fast after each other.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *MVV »

I agree that such a help is required, otherwise it is not clear at all why this option exists (because no one usually wants to unfix a bug) and which side effects it may cause. petermad's help makes it clear what this option does, when it should be used and why anyone may want to disable it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *ghisler(Author) »

I will add a note "see our forum for details". It's too complex/long to describe in the help.
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *Dalai »

2ghisler(Author)
If you do, better add a link to this topic as I suggested previously.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *MVV »

Perhaps hint may be made a bit shorter, it will be better than nothing. E.g. (shorter than a hint for auto-update option):
PreventScrollbarCrash=0/1

Defaults to 1 on Windows 8.1 or 0 otherwise. Shows an extra Lister window for some short time for preventing a potential crash when Lister is quickly opened/closed some times.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *ghisler(Author) »

I prefer not to link to a specific thread - a forum is dynamic, and TC users should be clever enough to use the search function.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *MVV »

I still think that a brief description is better than a forum reference...
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *petermad »

I still think that a brief description is better than a forum reference
I agree
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Post by *browny »

Since that fix, the latest 64-bit release (9.21) never crashed here in synchronize tool (or in lister).

Interestingly, scroll bars could create issues in other projects too: https://github.com/ppescher/resizablelib/commit/17ff3890df57ab18689d337e009e0df06349f6a7 (ResizableFormView.cpp, line 140).
If something like this could be used instead of creating inivisible windows, it would make a more elegant solution.
Post Reply