We are converting a core DLL to use REAL(8) precision and would like to make the routine generic so that calling programs only require a "USE ..." rather than changing a lot of REAL(4)'s to REAL(8)'s. The general idea is that the interface defines the generic subroutine name used in higher level program components and the implementations have a structure like:
Subroutine A_Double(X, Y, Z)
The only thing we have not done is determine the best way to package the generic function inside of the DLL. This is similar to the way Fortran generics are used but I'd like a pointer to an example of how it's done. Probably have one on the CVF 6.6 disk, but I haven't found it yet.
Thanks for all the help