FAR3 Plugin Development questions

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

FAR3 Plugin Development questions

Post by pepak »

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: 3295
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 10 times
Contact:

Re: FAR3 Plugin Development questions

Post by Maximus5 »

DirSyncW_039 works perfectly with Far3wrap.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: FAR3 Plugin Development questions

Post by pepak »

The immediate DirSync question has been solved, but I am still interested in answers to these questions.
Yegor
Posts: 1326
Joined: Mon 04 Apr, 2005 13:41
Location: San Ramon, CA / Kharkov, UA
Has thanked: 32 times
Been thanked: 61 times

Re: FAR3 Plugin Development questions

Post by Yegor »

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: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: FAR3 Plugin Development questions

Post by pepak »

I still rather need the answers to #1 and #3, if anyone has them.
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: FAR3 Plugin Development questions

Post by Игорь Юдинцев »

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: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: FAR3 Plugin Development questions

Post by pepak »

Is that all? Should be easy then.
Post Reply

Return to “Plug-In Developers”