Troi File Plug-in FMP7 conversion notes

We have two current File Plug-ins: Troi File Plug-in 2.8 which uses the Classic API and Troi File Plug-in 3.0 which uses the FileMaker 7 Native API.

Below you find a discussion of both. You can use both 2.8 and 3.0 together when running FileMaker 7. This way you can still use the old function calls, while you are converting your databases and gradually move to use the new features of Troi File Plug-in 3.0.

Troi File Plug-in 2.8 (Classic API) is compatible with FileMaker 7

Troi File Plug-in 2.8 in general does work with FileMaker Pro 7, without modification. We have found no other issues with FileMaker 7 than the ones below.

ReferenceToClip

This function does not work with FileMaker Pro 7. Solution: use the FileMaker 7 native way to import as a reference. See the RefPict.fp7 example file in the download of File Plug-in 3.0.

GetPathTo -CurrentFileName

This function does not work with FileMaker Pro 7 when using the -CurrentFileName switch. Solution: use the build-in Get(FilePath) function.
The other switches still work. See the GetpathTo.fp7 example file in the download of File Plug-in 3.0, for an example on how to convert a FileMaker style path to a full path in the format the File Plug-in understands.

General Issue for all Classic plug-ins with higher ASCII's

FileMaker Pro 7 has a new internal architecture, which is using Unicode for the text fields. FileMaker Pro 6 only used ASCII encoding. ALL plug-ins written for the 'classic' FileMaker 6 architecture do not receive characters that are outside this ASCII range, these characters are replaced with spaces. In general our plug-ins should be compatible as long as the text used is lower ASCII text.

The File Plug-in 2.8 is using the classic API, so only characters in the ASCII range will work.

 

Troi File Plug-in 3.0 (Native FileMaker 7 API)

Troi File Plug-in 3.0 was created specifically for FileMaker 7, and has a lot of new features. Please download the 3.0 package for more information on converting to Troi File Plug-in 3.0 functions.To the Troi File web page

Previous versions of Troi File Plug-in

We have not tested this, but we expect versions 2.7.1 or older of the plug-in to work with FileMaker 7, exept with the 2 functions above. However this latest 2.8 version has some bug fixes too, so it is strongly recommend that you use the latest version.