News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can anybody explain fortran dll usage?

Started by Flyingbear, August 22, 2016, 03:42:28 PM

Previous topic - Next topic

Flyingbear

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?

stahta01

#1
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Flyingbear

Quote from: stahta01 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.

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