Microsoft KB Archive/79709

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

Article ID: 79709

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1

-



This article was previously published under Q79709



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 &quot;Fixup Overflow&quot; 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: KB79709

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.