Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling Fortran DLL in Powerstation

Status
Not open for further replies.

ad5264

Programmer
Jul 27, 2008
1
GB
Im new to Fortran, and im trying to build DLLs for a legacy finite element model with several subroutines with Powerstation. I've looked around and can't find any specif example of how to do this using that particular compiler. The help section isnt that helpful.

What i've done so far is try to add

!MS$ATTRIBUTES DLLEXPORT :: DIMEN
!MS$ATTRIBUTES ALIAS: "DIMEN"::DIMEN


to the first subroutine and see if it'll work (like the help section says). And it does compile OK.

What i need to know now is if a)i'm on the right track, and b) what to do next?

I need one of those for-dummies answer that assumes no background knowledge at all.

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top