Quantcast
Channel: Microsoft Windows* 8.x
Viewing all articles
Browse latest Browse all 389

Format for DLL calls

$
0
0

My applications are DLLs intended primarily to be called from Excel/VBA, and so my entry points look like:

Subroutine WaterSatDensity_F(TempC, Value, Units)

!DEC$ ATTRIBUTES DLLEXPORT, STDCALL, ALIAS:'WaterSatDensity_F' :: WaterSatDensity_F

!DEC$ ATTRIBUTES REFERENCE :: Units

For one group of installs on a server, Excel is not installed, and so I need a simple way to check that the install is correct, my user licensing is operating and the DLL is returning valid results. I want to write a Fortran main program, which will call the DLL using the same entry points as VBA.  What should my calling program look like?  

Thanks,

David


Viewing all articles
Browse latest Browse all 389

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>