tcmatch in pb5
Moderators: Hacker, petermad, Stefan2, white
tcmatch in pb5
pb5 added such feature and who can explain how to use it ?
07.06.09 Added: External quick filter support (tcmatch.dll): MatchGetSetOptions informs dll about quick search options and returns sum of: 1: override internal search, 2: no leading/trailing asterisk, 4: file name with path, not just name, 8: allow empty result: longer search strings can return more results
07.06.09 Added: External quick filter support (tcmatch.dll): MatchGetSetOptions informs dll about quick search options and returns sum of: 1: override internal search, 2: no leading/trailing asterisk, 4: file name with path, not just name, 8: allow empty result: longer search strings can return more results
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2cheming
I don't think we can until someone (Samuel?) writes DLL for it.
I don't think we can until someone (Samuel?) writes DLL for it.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
INI entry ?
2cheming
Hello !
• We assumed (maybe wrongly) that the History.txt paragraph you quote is an INI entry, it looks like this,
but is neither clearly indicated, nor has a target section, that's quite strange…
- The “TCMATCH.DLL” exists indeed in the Samuel's tool package, it seems that it could be used directly
as located in the TC folder, plus setting the above instructions in the INI - just a wild guess…
- Paul and I updated the Tutos in such a way, whether it's wrong, we'll correct them, of course…
KR
Claude
Clo

• We assumed (maybe wrongly) that the History.txt paragraph you quote is an INI entry, it looks like this,
but is neither clearly indicated, nor has a target section, that's quite strange…
- The “TCMATCH.DLL” exists indeed in the Samuel's tool package, it seems that it could be used directly
as located in the TC folder, plus setting the above instructions in the INI - just a wild guess…

- Paul and I updated the Tutos in such a way, whether it's wrong, we'll correct them, of course…


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Its no INI entry. I just tried a little bit. It works like this:
In the tcmatch.dll create a function named:
The input integer "Status" is the sum of:
The return integer is the sum of:
I will try to change my dll soon, so that the switches are supported by it.
2cheming:
You have to adjust the Chinese Quicksearch separately.
In the tcmatch.dll create a function named:
Code: Select all
int __stdcall MatchGetSetOptions(int Status)
Code: Select all
1: Configuration > Quick Search > Exact name match > Beginning
2: Configuration > Quick Search > Exact name match > Ending
Code: Select all
1: override internal search
2: no leading/trailing asterisk
4: file name with path, not just name
8: allow empty result: longer search strings can return more results
2cheming:
You have to adjust the Chinese Quicksearch separately.
We remove
2Samuel
Hello !
• Thank you, that's important to hear.
• Anyway, I don't understand why Ch. Ghisler has announced this support without more explanation¦warning.
• We remove that from the Tutos INI chapter, but keep the texts in the case…
VG
Claude
Clo

• Thank you, that's important to hear.
• Anyway, I don't understand why Ch. Ghisler has announced this support without more explanation¦warning.

• We remove that from the Tutos INI chapter, but keep the texts in the case…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
2Clo
Christian did announce here that he wanted to do an function for the dll. So it was clear for me.
But I agree that there is only very few info in the changelog. (and as far as I could see nowhere else is some info about the tcmatch.dll [without his sample plugin])
What do you mean with warning?
2vic2009
Whats the reason for putting them in a separate folder?
I wouldnt expect dlls in the language folder. And as you can see here its not only about language.
Currently its not possible. You could only adjust the path to "tcmatch.tbl" in the "tcmatch.dll"-source on your own.
Christian did announce here that he wanted to do an function for the dll. So it was clear for me.
But I agree that there is only very few info in the changelog. (and as far as I could see nowhere else is some info about the tcmatch.dll [without his sample plugin])
What do you mean with warning?
2vic2009
Whats the reason for putting them in a separate folder?
I wouldnt expect dlls in the language folder. And as you can see here its not only about language.
Currently its not possible. You could only adjust the path to "tcmatch.tbl" in the "tcmatch.dll"-source on your own.
Nothing more---
2Samuel
Again…
"Warning! this can't be used directly yet… blah blah…" or so…
VG
Claude
Clo

- Nothing more than the word means , i.e. :What do you mean with warning?
"Warning! this can't be used directly yet… blah blah…" or so…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
These 2 files are actually some kind of "add-on", right?Samuel wrote:Whats the reason for putting them in a separate folder?
Maybe "language" folder is not the best choice, I hope these files can be put in a separate folder, just like the way we treat other plugin/addon files. Not mess with TC files.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
Support++ for additional INI parameter to define tcmatch.dll location (same way as for icons libraries).
And that's because…?Mikefield wrote:Otherwise, the ini will be then still in the main directory, not in the plugin.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Mikefield
This is developer's will where to store plugin settings.
There is one thing though:
plugins can get/set INI location via xSetDefaultParams method implementation BUT there is nothing like that for tcmatch.dll.
So other developers decided to go for default location proposed by TC but tcmatch don't have such possibility. It is completely up to developer to choose the place. Of course, he can save setting giving file name only but this would be asking for troubles.
This is developer's will where to store plugin settings.
There is one thing though:
plugins can get/set INI location via xSetDefaultParams method implementation BUT there is nothing like that for tcmatch.dll.
So other developers decided to go for default location proposed by TC but tcmatch don't have such possibility. It is completely up to developer to choose the place. Of course, he can save setting giving file name only but this would be asking for troubles.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2Samuel
You figured out the right parameters before I could announce the new function, good work!
Yes, I will consider to add a location string to wincmd.ini for tcmatch.dll.
You figured out the right parameters before I could announce the new function, good work!

Yes, I will consider to add a location string to wincmd.ini for tcmatch.dll.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com