Microsoft KB Archive/69063

DOSWord 5.5 Basic Conversion Error Messages

PSS ID Number: Q69063 Article last modified on 09-25-1995

5.50

MS-DOS

Summary:

The converter described below is one core conversion engine for all Microsoft Word for MS- DOS version 5.5 internal and external converters for DCA-RFT, RTF, WordPerfect, WordStar, or MultiMate.

Due to limitations of the MS-DOS (character mode) programming environment, the interface to the converter is very basic. Error handling essentially amounts to the converter returning a numeric code to the calling application (Word 5.5) and the converter shutting down. Therefore, if an error occurs during conversion, Word 5.5 will be notified of the error and the converter will remove all TMP (temporary) files on disk that were created during the conversion process before shutting down.

Informing you of the problem is the role of Word 5.5. Therefore, if you run the converter stand alone from MS-DOS, no error will be returned, and the converter will remove all TMP files on disk and shut down. To make a second attempt at the conversion process, you must run the converter again.

The following are the 21 possible conversion error codes and their corresponding error explanations:

Return Code Error —— —–

0 Normal return 1 Conversion terminated by user 2 Input file name not specified 3 Output name not specified 4 Input and output file same name 5 Input file not found 6 Error writing file 7 Error reading file 8 Error opening file 9 Input file is not correct file type 10 Output file already exists and overwrite is not true 11 Style sheet file is not a valid Word style sheet 12 Insufficient memory to load and initialize converter 13 Output file type not specified on command line 14 Invalid line/field/character in user definable font mapping file 15 Input and output files are the same type 16 Style sheet not found and /Q was set, but not /S (where /Q and /S are optional command line switches that can be used when running the converter stand alone (see page 637 of the “Using Microsoft Word” version 5.50 manual. 17 Internal error occurred (corrupted heap, etc.) 18 RTF file and style sheet content are mismatched 19 Error in creating style sheet filename 20 Style sheet name is not a valid DOS filename

KBCategory: kbinterop KBSubCategory: Additional reference words: 5.5 5.50 convert translate textconv geninfo ============================================================================= Copyright Microsoft Corporation 1995.