CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #9
    Join Date
    Mar 2013
    Posts
    5

    Re: Extern C- Callinf Fortran from C++

    Thanks a lot,

    Please find attached a file anmed calculator.zip.

    It is actually generally through the wizard which of an external software which has all the class definitions.

    As you see it has extern c defined.

    NExt, I have also attached test.zip which ahs the fortran function in test.F

    There is also a file test.cpp.

    With the same linker and config settings, if I call the FORTRAN function from test.cpp it works.

    But, when I call from calculator.cpp it doesn't.

    I shall be grateful and obliged if helped as it is giving me sleeples nights for my task .

    Thanks in advance
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured