Mixed-Language Programming: Borland C++ and MS FORTRAN

ID: Q79709


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, versions 5.0, 5.1


SUMMARY

Mixed-language programming is not possible with Borland C++ version 2.0 and Microsoft FORTRAN versions 5.0 and 5.1. This is not considered a feature and is not supported by Microsoft or Borland.


MORE INFORMATION

The format used by Borland when they generate their object code file is different than the format used by Microsoft languages. Microsoft linkers do not recognize the format of the Borland libraries partially because of the way they include the debugging information and function overhead code.

It is possible to use Borland's linker, TLink, to do the linking but unresolved function error messages are generated from both Microsoft FORTRAN and Borland C++. Using TLink may also result in "Fixup Overflow" errors in data segments because of the differences in the memory models used by both compilers. Borland's large memory model does not correspond exactly to Microsoft's large memory model; therefore, problems may exist in the way data is aligned for the final executable.

Mixed-language programming with non-Microsoft products is not supported by Microsoft.

Additional query words: kbinf 5.00 5.10

Keywords :
Version : :5.0,5.1
Platform :
Issue type :


Last Reviewed: November 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.