Interface for creating TC plugins using .NET Framework
Moderators: petermad, Stefan2, white, Hacker
Interface for creating TC plugins using .NET Framework
I provide new interface to create any type of Total Commander plugins using .NET Framework.
Link on totalcmd.net : http://www.totalcmd.net/plugring/TCdotNetInterface.html
Project is Open-Source, under MIT license.
Project's page on SourceForge: http://sourceforge.net/projects/tcdotnetinterface/
Full source code on SourceForge: https://sourceforge.net/p/tcdotnetinterface/code/HEAD/tree/trunk/
Detail documentation (HTML) is in loading archive.
Link on totalcmd.net : http://www.totalcmd.net/plugring/TCdotNetInterface.html
Project is Open-Source, under MIT license.
Project's page on SourceForge: http://sourceforge.net/projects/tcdotnetinterface/
Full source code on SourceForge: https://sourceforge.net/p/tcdotnetinterface/code/HEAD/tree/trunk/
Detail documentation (HTML) is in loading archive.
Best regards,
Oleg Y
Oleg Y
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
It misses the Quicksearch Plugin type: "tcmatch.dll"
Currently implementing the 2 funktions:
int __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename);
int __stdcall MatchGetSetOptions(int Status);
Example plugin: http://www.ghisler.ch/board/viewtopic.php?t=22592&start=0
I consider using this. Thank you.
Currently implementing the 2 funktions:
int __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename);
int __stdcall MatchGetSetOptions(int Status);
Example plugin: http://www.ghisler.ch/board/viewtopic.php?t=22592&start=0
I consider using this. Thank you.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
@OlegY:OlegY wrote:Samuel,
Do you suggest me to add QuickSearch plugin features to the provided .NET Interface?
If yes - where can I find detail description for QiuckSerach interface?
Yes, this is exactly what I am proposing. (And I consider to use it myself)
The QuickSearch plugin consists of the file "tcmatch.dll" ("tcmatch64.dll") that is placed in the Total Commander folder.
Currently the interface consists only of the 2 functions:
int __stdcall MatchGetSetOptions(int Status);
int __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename);
Current "documentation":
http://www.ghisler.ch/board/viewtopic.php?p=174843#174843
http://www.ghisler.ch/board/viewtopic.php?p=173110#173110
For more you could search for tcmatch.dll in the forum.
@Christian:
Probably you should provide a short documentation, like for the other plugins.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
I know, that "int" works, as I use it in my plugin. (I return 0 or 1 only)OlegY wrote:Samuel,
Interface for MatchFileW in Ghisler's topic
BOOL __stdcall MatchFileW(WCHAR* Filter,WCHAR* FileName);
differs from yours
int __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename);
What result type is right: int or BOOL?
However, Christians plugin should work too and there is no reason to use int, so I would prefer bool there.
Types int and BOOL are equal, from WinDef.h: but different from bool.
Code: Select all
typedef int BOOL;
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Thanks for clarifying. Sounds reasonable.tbeu wrote:Types int and BOOL are equal, from WinDef.h:but different from bool.Code: Select all
typedef int BOOL;
-
- Junior Member
- Posts: 3
- Joined: 2015-01-23, 12:02 UTC
- Location: New York
- Contact: