Thanks a lot, that works. > I´m trying to call a fortran routine from a c++ routine > int sub1_(); You should probably have declare it as `extern "C"', to avoid C++ name mangling. ---------------------------------------------------------------------- Dr.Peter Hahne, Zum Pitschgrund 7a, 64747 Breuberg Rai-Breitenbach, Tel. +49 6165 912424, Fax +49 6165 912425, Mobile +49 171 5178749