Author: petermad
Subject: Question about IconDll_XXX.bar= entries in wincmd.ini
Posted: Sun Oct 23, 2016 1:03 pm (GMT -6)
2Ghisler
I have a lot of different entries in the [Buttonbar] section of my wincmd.ini file. There is one IconDll_XXX.bar= for each .bar file that I have had opened (where XXX is the name of the .bar file).
My question is - what are the purpose for these entries - TC can only use 1 iconlib for all bars at the same time, and that is always either wcmicons.dll or the one set by DefaultLib=
If I delete all IconDll_XXX.bar= occurrences manually and start TC, then the correct iconlib (defined by DefaultLib=) is loaded anyway, and TC immdiately sets IconDll_XXX.bar= for the visible icon bars, but why?
Is it for a future possibility to set a different iconlib for each .bar file?
Or is it for TC to be able to compare IconDll_XXX.bar= and DefaultLib= when a bar file is opened to check whether the icons have to be re-read or if they can just be read from the .br2 file. If that is the case, then why is it the file info description that is used for IconDll_XXX.bar= and not the file name? - there can only be one file with a particular name, but several different files can have the same file info discription.
_________________
#524
Danish Total Commander Translator
TC 9.0b16 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.80b4 on Android 6.0
Get Extended Total Commander Menus
Subject: Question about IconDll_XXX.bar= entries in wincmd.ini
Posted: Sun Oct 23, 2016 1:03 pm (GMT -6)
2Ghisler
I have a lot of different entries in the [Buttonbar] section of my wincmd.ini file. There is one IconDll_XXX.bar= for each .bar file that I have had opened (where XXX is the name of the .bar file).
My question is - what are the purpose for these entries - TC can only use 1 iconlib for all bars at the same time, and that is always either wcmicons.dll or the one set by DefaultLib=
If I delete all IconDll_XXX.bar= occurrences manually and start TC, then the correct iconlib (defined by DefaultLib=) is loaded anyway, and TC immdiately sets IconDll_XXX.bar= for the visible icon bars, but why?
Is it for a future possibility to set a different iconlib for each .bar file?
Or is it for TC to be able to compare IconDll_XXX.bar= and DefaultLib= when a bar file is opened to check whether the icons have to be re-read or if they can just be read from the .br2 file. If that is the case, then why is it the file info description that is used for IconDll_XXX.bar= and not the file name? - there can only be one file with a particular name, but several different files can have the same file info discription.
_________________
#524
Danish Total Commander Translator
TC 9.0b16 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.80b4 on Android 6.0
Get Extended Total Commander Menus