Page 1 of 1

FAR3 Plugin Development questions

Posted: Sun 15 Jul, 2012 08:49
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.)

Re: FAR3 Plugin Development questions

Posted: Sun 15 Jul, 2012 14:25
by Maximus5
DirSyncW_039 works perfectly with Far3wrap.

Re: FAR3 Plugin Development questions

Posted: Tue 17 Jul, 2012 13:58
by pepak
The immediate DirSync question has been solved, but I am still interested in answers to these questions.

Re: FAR3 Plugin Development questions

Posted: Tue 17 Jul, 2012 14:28
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 :)

Re: FAR3 Plugin Development questions

Posted: Fri 29 Mar, 2013 12:21
by pepak
I still rather need the answers to #1 and #3, if anyone has them.

Re: FAR3 Plugin Development questions

Posted: Fri 29 Mar, 2013 16:53
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).

Re: FAR3 Plugin Development questions

Posted: Fri 29 Mar, 2013 17:25
by pepak
Is that all? Should be easy then.