How to write plugin in C# (or VB.NET)

Main development forum.

How to write plugin in C# (or VB.NET)

Postby nikkilocke » Tue Oct 23, 2012 4:41 pm

I want to write a WinMerge plugin which converts Sqlite database files into text for comparison.

I know how to do the conversion, but I can't seem to create a C# (or even VB.Net) program which WinMerge recognises as a plugin.

Does anyone have a clue how to do this?
nikkilocke
 
Posts: 2
Joined: Tue Oct 23, 2012 4:38 pm

Re: How to write plugin in C# (or VB.NET)

Postby jtuc » Wed Oct 31, 2012 10:55 pm

If you create a command line tool that takes the path to the input file as parameter and writes resulting text to standard output, you can follow the approach outlined here:
viewtopic.php?f=4&t=352&start=10#p1399.
jtuc
Developer
 
Posts: 182
Joined: Sat Dec 20, 2008 11:05 am

Re: How to write plugin in C# (or VB.NET)

Postby nikkilocke » Thu Nov 01, 2012 10:26 am

Thanks for that.

Unfortunately, that method seems to require Winmerge 2011 rather than standard Winmerge. Which would be OK if it would install on my 64-bit system. It does say it might install if I added a Microsoft hotfix, but I am reluctant to go down that path.

Other people seem to be able to write WinMerge plugins - I can't understand what I am doing wrong.

My code is available at http://stackoverflow.com/questions/1303 ... -or-vb-net if anyone wants to look at it and tell me what's wrong.
nikkilocke
 
Posts: 2
Joined: Tue Oct 23, 2012 4:38 pm


Return to Developers

Who is online

Users browsing this forum: Bing [Bot] and 1 guest