User forums > Using Code::Blocks

Can anybody explain fortran dll usage?

(1/1)

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:
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.

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.

--- End quote ---

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

Navigation

[0] Message Index

Go to full version