How to create Fortran DLL in Visual Studio with Intel Fortran compiler

The following link is a PowerPoint presentation on creating a Fortran DLL with intel fortran compiler in visual studio!!

Please click the link to view the presentation!

Create Fortran DLL with Visual Studio

Created this to help a friend trying to do the same for his work. Thought it will be nice to have it online for everyone else.

Maybe next post, I will post how to use this DLL with microsoft excel!!  Stay tuned!!

More posts

  1. Fortran 90 with Excel – gfortran example

  2. How to use pgplot in windows with Intel Fortran?

  3. STL file reader in fortran

  4. Boxplot in excel 
  5. Fortran DLL and Excel VBA how to mesh them together?


11 thoughts on “How to create Fortran DLL in Visual Studio with Intel Fortran compiler

  1. Pingback: How to create fortran dll in commandline with intel fortran compiler? «

  2. Pingback: Fortran DLL and Excel «

  3. Pingback: 2012 in Review «

  4. Pingback: Plants Become Weeds when they….. |

  5. Pingback: Top 5 posts |

  6. I am extremely inspired along with your writing talents and also with
    the format in your blog. Is that this a paid theme
    or did you customize it yourself? Anyway stay up the excellent high quality
    writing, it’s rare to peer a great weblog like this one these days..


  7. Hi

    This was a very useful post. I have a question on creating DLL for fortran code.
    The structure of my fortran .f90 code is as follows:

    program ABC
    end program ABC

    subroutine XYZ
    end subroutine XYZ

    subroutine PQ
    end subroutine PQ

    Your post shows to create a DLL for the subroutine by adding the 2 lines of code between the subroutine. I am looking for converting my complete code (including program) into a DLL to be accessed in C#.NET.

    Could you please tell me how can I achieve this? Any information on this regards would be greatly appreciated.

    Thank you.


  8. Pingback: A year of posts |

  9. Dear sir
    I learned to make DLL but I am not able to import this in another Fortran program.
    Please, if possible send me a successful program which can make a separate DLL and then use it in separate program.
    I want to make a program where I do not want to show unimportant thing, this unimportant will be in DLL form.
    Please help me.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s