Am Montag, 18. Dezember 2006 02:36 schrieb Uwe Stöhr: > This is the point. I don't understand why, because I privately use DLLs compiled with Fortran in Delphi programs and DLLs compiled with Delphi > in LabView programs and so on. This is one of the advantages that the jump-in points into a DLL are accessible for all programs so I wondered > that this is not the case for the Qt4 DLLs compiled with MinGW shipped by Trolltech.
Well, the C++ ABI (name mangling, layout of objects in memory etc) is not standardized among compilers (even not among different versions of the same compiler, because of detected defects in the old standard it was required to change it for gcc 3.4). The C ABI is much easier, and as long as you do the correct function name mangling (there are different naming conventions regarding underscores among some FORTRAN compilers), you can easily call C code from FORTRAN and vice versa, and that works between different compilers, too. The same is true for many other langugaes that use the C ABI. The above is also true for static libraries. Georg