FAR3 Plugin Development questions

A place where plug-in developers can share their knowledge and experience.
Post Reply
pepak
Posts: 327
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

FAR3 Plugin Development questions

Post by pepak » Sun 15 Jul, 2012 08:49

1) Is there an English version of Encyclopedia for FAR3 available? If yes, where? If no, is there some other english-language resource I can use?

2) Is the PluginSDK\Headers.pas\PluginW.pas file up to date? I have just downloaded the nightly build (2768) and it seems to me the file is intended for FAR2, not FAR3.

3) Is there some description somewhere which would tell me what are the minimal changes needed to translate FAR2 plugin to FAR3?

(Once again I want to give a FAR3 a try, though I am not clear on what benefits over FAR2 it has, but I need to update the DirSync plugin first, because I can't get it to work via the Maximus5's Far3wrapper.)

Maximus5
Posts: 3292
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 4 times
Contact:

Re: FAR3 Plugin Development questions

Post by Maximus5 » Sun 15 Jul, 2012 14:25

DirSyncW_039 works perfectly with Far3wrap.

pepak
Posts: 327
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Re: FAR3 Plugin Development questions

Post by pepak » Tue 17 Jul, 2012 13:58

The immediate DirSync question has been solved, but I am still interested in answers to these questions.

Yegor
Posts: 847
Joined: Mon 04 Apr, 2005 13:41
Location: Kharkov, Ukraine
Has thanked: 2 times
Been thanked: 7 times

Re: FAR3 Plugin Development questions

Post by Yegor » Tue 17 Jul, 2012 14:28

pepak, if you use Delphi you can use these translated headers:
http://code.google.com/p/y-projects/sou ... pas%2FFar3

They are written for the latest version (XE2) but may compile under a couple of older versions, but definitely not under Delphi 7 :)
Мы не можем ждать милостей от Фара, взять их у него — наша задача! (C) Мичурин

pepak
Posts: 327
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Re: FAR3 Plugin Development questions

Post by pepak » Fri 29 Mar, 2013 12:21

I still rather need the answers to #1 and #3, if anyone has them.

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: FAR3 Plugin Development questions

Post by Игорь Юдинцев » Fri 29 Mar, 2013 16:53

pepak
Implement GetGlobalInfoW, rename OpenPluginW to OpenW, fix parameters for all exported functions, fill in StructSize fields for structures in FAR API calls, then get the whole thing compile (this will mostly mean placing the GUIDs of the plugin and every dialog window in API calls).

pepak
Posts: 327
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Re: FAR3 Plugin Development questions

Post by pepak » Fri 29 Mar, 2013 17:25

Is that all? Should be easy then.

Post Reply

Return to “Plug-In Developers”