Fortran call *.dll
Fortran call *.dll
(OP)
Hi
Let say, I am going to make 3d interpolation using the function from the *.dll file, namely xtrfun.dll. And I am writting a program in Fortran to call this file.
I have no experience to call *.dll from Fortran before.
Do anybody have any suggestion, e.g. what is information about this that I should read?
Deeply thanks
Let say, I am going to make 3d interpolation using the function from the *.dll file, namely xtrfun.dll. And I am writting a program in Fortran to call this file.
I have no experience to call *.dll from Fortran before.
Do anybody have any suggestion, e.g. what is information about this that I should read?
Deeply thanks





RE: Fortran call *.dll
When you set things up to link, make sure you link with the .LIB file associated with the xtrfun.dll file.
Lastly, make sure the xtrfun.dll can by found by the system when you run your program.
Richard Ay
COADE, Inc.
RE: Fortran call *.dll
However, I am not yet so clear on how to set link even I have already looked at the sample in \DF98\SAMPLES\DLL.
Would you (or anybody) mind to spend your time explaning me?
Avirut
TU Graz
RE: Fortran call *.dll
Go to the "project settings" option, then click on the "Link" tab. Add the "xtrfun.lib" to the "object/library modules" edit box.
If you're not using Visual Studio, check the documentation on whatever tool you use to link. This will discuss how you link in additional libraries.
Richard Ay
COADE, Inc.
RE: Fortran call *.dll
Avirut
TU Graz
RE: Fortran call *.dll
Dan
www.dtware.com