Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Generic Function To DLL?

Intel_C_Intel
Employee
305 Views
I doubt this can be done - but I thought I'd ask...
I have a routine in a DLL. Some of the arguments to this routine are the addresses of functions in my main EXE, so that the DLL can call routines in the EXE without any explicit linking.
Anyway, we have addresses for various routines like put_integer_value, put_real_value, put_logical_value etc. and I was wondering if I could tidy up the DLL routine call by using a generic interface definition, say of put_value.
It would seem that I would then need to pass the address of the generic version of the routine, but it doesn't really exist, as such.
Is there a way to achieve my aim?
0 Kudos
0 Replies
Reply