FFAPI: What to Watch for When Building an FFAPI File

Last reviewed: October 20, 1997
Article ID: Q85055
3.00 MS-DOS kb3rdparty

The information in this article applies to:

  • Microsoft Mail Software Development Kit: FFAPI for Gateways and Applications, version 3.0

The most common problem encountered when building a File Format Application Programming Interface (FFAPI) file is specifying the wrong line termination character. This is usually identified by error 144, "Unable to partition line %s".

FFAPI looks for a carriage return (<CR>) by default. If the line termination character used in the file is <CR><LF> or just <LF>, FFAPI will have problems parsing the line.

To ensure that FFAPI will parse the file correctly, make sure FFAPI knows what line termination character is being used. To specify this, use the -F parameter on the command line, according to the following format:

   Character  Parameter
   ---------  ---------

   <CR>       -F0
   <LF>       -F1
   <CR><LF>   -F2

REFERENCES

"Microsoft Mail for PC Networks Software Development Kit Application File Format API"

"Microsoft Mail for PC Networks Software Development Kit Gateway File Format API"


Additional reference words: 3.00 2.1a pcmail
KBCategory: kb3rdparty
KBSubcategory: MailGWFFAPI


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.