Author Topic: Can anybody explain fortran dll usage?  (Read 3907 times)

Offline Flyingbear

  • Single posting newcomer
  • *
  • Posts: 3
Can anybody explain fortran dll usage?
« on: August 22, 2016, 03:42:28 pm »
Hello,
I want to write a fortran programe, and package it as *.dll, to be called by Labview,
So, in codeblocks I created a fortrandll project. However, no dll file was created after building.
Could anyone explain how to make a dll?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Can anybody explain fortran dll usage?
« Reply #1 on: August 22, 2016, 03:49:26 pm »
No idea on FORTRAN; but, in C or C++ you need to verify the CB project property is set correctly.

Menu "Project" -> "Property"
Tab "Build Targets"
Option "Type" set to "Dynamic Library"

Tim S.
« Last Edit: August 22, 2016, 03:51:03 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Flyingbear

  • Single posting newcomer
  • *
  • Posts: 3
Re: Can anybody explain fortran dll usage?
« Reply #2 on: August 22, 2016, 03:55:13 pm »
No idea on FORTRAN; but, in C or C++ you need to verify the CB project property is set correctly.

Menu "Project" -> "Property"
Tab "Build Targets"
Option "Type" set to "Dynamic Library"

Tim S.

Ah, I found the answer. The dll file was positioned in the "bin" folder.
Thank you, I got the cue from your answer.