OK, my plugin works just fine in FAR 1.75. Now I would like to modify it to compile with any version of FAR - 1.75, 2.0 and 2.0 x64. What do I need? Please note that I am _NOT_ a C/C++ programmer. I know other languages, and some C basics, but I have no idea how to e.g. work with SVN or even how to set up my compiler.
1) My development suite:
- I use DevCPP 4.9.9.2 to compile my plugin
- FAR's plugin SDK 1.75 is included in its libraries
- What do I need to add to be able to
- I don't use SVN and in fact have no idea how one does that. I would prefer to keep all files local, work on them, and if/when they finally work, look into how to publish them.
2) Sources
- Looking at the current official plugin's sources, I will need to replace some things - e.g. use TCHAR instead of char, use EXP_NAME(ExportedName) instead of ExportedName etc.
- Where is EXP_NAME defined? I just can't find it.
- I assume I will need to replace strlen, strcat and such with a different all, too
- What else should I be concerned about?
Building for FAR 2.0
- chupakabra
- Posts: 1023
- Joined: Wed 27 Jul, 2005 19:36
- Contact:
Re: Building for FAR 2.0
You need to compare SDK headers for 1.7 and 2.0 to see what differences were made to plugin API. Some of the changes are obvious like use of unlimited length Unicode strings instead of fixed length ANSI strings. Read the changelog to find out about all other API changes.
Re: Building for FAR 2.0
Are those available in English?chupakabra wrote:Read the changelog to find out about all other API changes.