Does anyone have an example of a cDEC$ATTRIBUTTES DLLEXPORT statement from a data only module where the exported variables are then used in an external DLL through a USE statement? The CVF documentation mentions that it is possible but I was unable to find an example and can't seem to make it work on my own.
the code in the exporting module is as follows:
!DEC$ATTRIBUTES DLLEXPORT :: S,TIME0,TFINAL,DELT,IWARN
the code in a subroutine of the other dll is as follows:
USE GLOBALCOMMON, ONLY:TIME0,TFINAL,DELT
I have included the .lib file from the first dll in the second one's project. Any hints as to what I am doing wrong wqould be greatly appreciated.
Thanks in advance,