![[File Conversion]](aci.gif)
FAX: (US)-585-385-6822
EMAIL: click hereFlMn.DLL. Not all of these files may be required. These files are listed later, and you may remove the ones that you do not need.extern "C" __declspec(dllimport) BOOL __stdcall detfile ( const char FAR* lpszFileName, char FAR* lpszShortForm, char FAR* lpszLongForm);The function arguments are:
FlMn.DLL if applicable.Private Declare Function detfile Lib "detfile.dll" ( _ ByVal FileName As String, _ ByVal ShortForm As String, _ ByVal LongForm As String) _ As Integerwhere the arguments correspond to the descriptions given above.
lpszShortForm. The possible keywords returned in lpszShortForm are:| KEYWORD | Description |
| !EMPTY | -- Empty file -- |
| !FERR | ** File Open Error ** |
| !UNK | -- Could not identify -- |
| 123/2- | Lotus 1-2-3 1.x/2.x, Symphony 1.x/2.x or compatible spreadsheet |
| 123/3 | Lotus 1-2-3 3.x, Symphony 3.x or compatible spreadsheet |
| ABIL | Ability file |
| ALPHA | Alpha Works/Electric Desk document |
| AMDRAW | Ami Professional Draw file |
| AMI | Ami Pro document |
| ASC | ASCII (Dos text) file |
| BACKUP | File produced by Dos Backup |
| BROTD | Brother Word Processor (Daisy Wheel) |
| BROTN | Brother Word Processor (U.S. Notebook) |
| BROTU | Brother Word Processor (U.K. Notebook) |
| BROTF | Brother Word Processor (French Notebook) |
| BROTG | Brother Word Processor (InkJet) |
| CCOM | Complete Communicator/PC Switchboard fax file |
| CRLDRWx | Corel Draw version x file (x = 3, 4 or 5) |
| DBASE2 | dBase-II data file |
| DBASE3+ | dBase-III or dBase-IV data file |
| DBINX | dBase (or compatible) Index file |
| DBMEMO | dBase Memo file |
| DSW | IBM DisplayWrite document |
| DWA/PTS | IBM DisplayWrite Assistant or PTS document |
| ENABx | Enable WP document (version x = 1, 2, 3 or 4) |
| EXE | MS-Dos Executable program |
| FFT | IBM DCA (FFT) file |
| FXINX | FoxPro data base index file |
| FXMEMO | FoxPro data base Memo file |
| FXPRO | FoxPro data base |
| GEOWR | GeoWrite file |
| GEOCAL | GeoCalc file |
| HTML | HyperText Markup Language |
| IWA | IBM Writing Assistant document |
| LEWP | Leading Edge WP document |
| LMx | Lotus Manuscript document (version x = 1 or 2) |
| M11D | Mass-11 document |
| M11F | Mass-11 folder file |
| MSAC | Microsoft Access data base |
| MSPP | Microsoft PowerPoint Presentation |
| MSPUB | Microsoft Publisher document |
| MSWDxy | MS Word version x.y for Dos (x.y = 3.0, 4.0, 5.0, 5.5) |
| MSWKWx | Microsoft Works version x WP document |
| MSWKSx | Microsoft Works version x spreadsheet |
| MSWKDx | Microsoft Works version x data base |
| MSWR | Microsoft Write for Windows document |
| MSWWx | Microsoft Word for Windows x.0 document (x = 1, 2, 6, 7, 8) |
| MSWW2K | Microsoft Word 2000 or higher document |
| MSXL | Microsoft Excel Spreadsheet |
| MULx | Multimate document (version x) |
| MULxF | Multimate footnotes file (version x) |
| MYM | Managing Your Money data file |
| OFCPWR | OfficePower/PC document |
| OFW4- | OfficeWriter document (version 4 or earlier) |
| OFWx | OfficeWriter document (version x = 5 or 6) |
| OLE | Microsoft Windows Compound (OLE) file |
| PFSFC | pfs:First Choice document |
| PFSPW | pfs:Professional Write document |
| PFSW1 | pfs:Write 1.x document |
| PFSW2 | pfs:Write 2.x (Spinnaker) document |
| PFSWWD1 | pfs:WindowWorks (Spinnaker) document |
| PFSWWD2 | pfs:WindowWorks (SoftKey) document |
| PFSWWS1 | pfs:WindowWorks (Spinnaker) spreadsheet |
| PFSWWS2 | pfs:WindowWorks (SoftKey) spreadsheet |
| RFT | IBM DCA (RFT) file |
| RTF | Microsoft Rich Text Format |
| SAMNA | Samna Word/Plus document |
| SC4 | SuperCalc-4 spreadsheet |
| SPJ | SuperProject Plus data file |
| VENPUB | Ventura Publisher file |
| WANG | Wang-IWP document |
| WMC | WordMarc Composer document |
| WPF4 | WordPerfect 4.1 or 4.2 document |
| WPFxy | WordPerfect x.y document (Dos or Windows, x.y = 5.1, 5.2, 6.0, 6.1) |
| WPF7 | WordPerfect (Corel) version 7, 8, 9, 2000 or higher |
| WPRO | Lotus WordPro |
| 2WS | WordStar-2000 document |
| WSxy | WordStar document (version x.y = 5.0, 5.5, 6.0 or 7.0) |
(!) in the first character of the returned lpszShortForm keyword.extern "C" __declspec(dllimport) int __stdcall FlMn ( const char FAR* lpszSourceFormat, const char FAR* lpszSourceFileName, const char FAR* lpszDestFormat, const char FAR* lpszDestFileName, const char FAR* lpszConfFileName, const char FAR* lpszScratchPath, const char FAR* lpszMeterName);The function arguments are:
detfile may directly be passed as this parameter provided it is supported by the conversion engine. The source format keywords supported by the conversion engine are listed later.FlMn is called..DLL is assumed). If no meter is required, this argument may be passed as null or an empty string.Private Declare Function FlMn Lib "FlMn.dll" ( _ ByVal SourceFormat As String, _ ByVal SourceFileName As String, _ ByVal DestFormat As String, _ ByVal DestFileName As String, _ ByVal ConfFileName As String, _ ByVal ScratchPath As String, _ ByVal MeterName As String) _ As Integerwhere the arguments correspond to the descriptions given above.
0: normal return 1: unrecognized source format keyword 2: unrecognized destination format keyword 3: could not create or open CONV_LOG.TXT on scratch drive 4: could not write to or close CONV_LOG.TXT on scratch drive 5: could not open a system configuration file 6: one or more error(s) in configuration file(s) 7: could not open WX.DTA 8: could not create scratch file(s) on scratch drive 9: could not open scratch file(s) on scratch drive 10: could not write to or close scratch file(s) 11: could not open source document 12: source file is not in the specified format 13: some other source file discrepancy 14: could not create new destination file 15: error writing or closing destination file 16: some other destination file discrepancy 17: insufficient memory 18: a required DLL is missing 19: a required DLL is corrupted 20: unusual error, normally would never occur 21: license type error
FlMn is installed, and pass "GMETER" as the lpszMeterName argument to FlMn. You do not have to do anything else.GMETER.DLL as described above. This will display a simple progress meter centered on the screen every time a file is being converted. Once the file has been fully converted, the meter disappears.FlMn.DLL to make (create) the progress meter window. FlMn.DLL passes character strings to this function, representing the source and destination file names and formats. Your meter DLL may use these as part of the progress meter display, or ignore them. This function should return TRUE if the progress meter was successfully created, else it should return FALSE.FlMn.DLL repeatedly with a single integer argument representing the percentage of conversion completed (0 to 100). This function should update the progress window to show the new percentage of conversion. No return value is expected.FlMn.DLL after a file has been converted, in order to remove the progress meter window from the screen. No argument is passed, and no return value is expected.extern "C" __declspec(dllimport) BOOL make_meter ( const char FAR* lpszSourceFile, const char FAR* lpszSourceFormat, const char FAR* lpszDestFile, const char FAR* lpszDestFormat); extern "C" __declspec(dllimport) void meter (int iPercent); extern "C" __declspec(dllimport) void kill_meter (void);The arguments to these functions are:
FlMn DLL, but also directly by your application. This lets the progress meter window interact not only with the user and the conversion DLLs, but also with your host application. When configured in this manner, your meter DLL should still provide the function meter exactly as described above. However, you may elect to remove the functions make_meter and kill_meter, and instead include in your DLL other (differently-named) functions (called directly by your host application) to create and destroy the progress meter window.CONV_LOG.TXT, and is placed in the scratch drive and directory passed as the lpszScratchPath argument to FlMn. In the case of a multiply instantiating autoserve license, the log file is called Conversion Log n.txt, where n stands for the instantiation number. The log file is created in the append mode, so the log accumulates over successive calls to FlMn, as well as over successive host application sessions. To display only the log for a single session, your application must delete a previously existing log (if any).FlMn conversion DLL.Customization and set up the various options the way you would like them. Then exit the program. In the FileMerlin directory, you will find a file named CUSTOPT.ISC. This contains the InterScript customization commands required for your settings. You may use this file as is or copy it to a new file, then pass its name as the customization file to the FlMn conversion DLL. The default CUSTOPT.ISC, as shipped, contains some settings which are required in normal operation. Therefore, you should pass the name of this file or its copy to the FlMn conversion DLL even if you haven't changed any of the customization settings.FlMn DLL. They are also used to support filetype-specific customization as described in the Advanced Customization section of the FileMerlin user manual.detfile may be passed directly to FlMn to specify a source file format if it is supported by the conversion package. However, not all file formats can be autorecognized. The FileMerlin user manual lists the source format keywords recognized by FlMn, and wildcard characters "*" and "?" are permitted in source format keywords as described therein. However conversions from Brother Word Processors and GeoWrite are not available via the Developer API.FlMn are also listed in the FileMerlin user manual. As mentioned therein, wild card characters "*" and "?" are not allowed in destination format keywords.detfile and FlMn functions, and call these functions by clicking a button. It then displays the returned results and codes. It does not perform any error-checking on its own, so it reflects exactly the performance of these DLLs in your particular environment.DllTest.exe is developer-oriented and permits multiple instantiation. In other words, you can launch several copies of DllTest at the same time. This lets you test multiple instantiation of the conversion library. Note however, that multiple instantiation support is not available in trial mode, nor under any license other than an AutoServe license.DETFILE.DLL and FlMn.DLL at compile/link time. They are not required at run time, and are not required by all environments.