Re-using Total Commander's Viewer plugins in standalone applications outside TC - can it be done?

1.4k Views Asked by At

Is there a way to use plugins written for Total Commander in my own C# application?

I'm specifically interested in, for example, the viewer plugins e.g. ImgView, ArcView and CAD View.

2

There are 2 best solutions below

0
On

If you know an API why not? As long as Total Commander uses those plugins theoretically you should be able to do the same as well.

Here is a good example of Writing a Total Commander plug-in in Visual Basic (or C#) So perhaps, after a deep investigation, you will be able to write your own plugin?

0
On

The easiest way how to use plugins originally written for Total Commander in your own C# application would certainly be the following:

See

http://www.ghisler.ch/board/viewtopic.php?t=25751&sid=23d738091055d84ee97d12cef09b82a7

for a detailed description of all of the plugin functions which the host application (usually being the Total Commander program) can call after loading the plugi DLL. Notice that despite of their somewhat unusual file name extensions (.wlx or .wfx or .wcx etc.) these TC plugins are just ordinary DLLs (dynamic link libraries) which have simply been renamed accordingly.

An example of calling TC plugin functions from other programs is the UniversalViewer program available for downlod from the www.uvviewsoft.com web site.

Good luck! Michael Diegelmann (author of the TC lister plugin ImgView)