Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Flyingbear on August 22, 2016, 03:42:28 pm

Title: Can anybody explain fortran dll usage?
Post by: Flyingbear 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?
Title: Re: Can anybody explain fortran dll usage?
Post by: 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.
Title: Re: Can anybody explain fortran dll usage?
Post by: Flyingbear 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.