I am working on a Mixed language Program with VC++ and a fortran DLL. My Fortran DLL needs to call back a VC++(MFC) Function to store some value.
My VC++ function was...
void StoreOrtho(float x, float y,
float heightCoef, float slope);
I call the function this way in fortran:
But my main problem is that I don't know how to share this function to fortran. For sure I will have to declare My function as Extern, but how and where? And in My fortran subroutine how I said to her that StoreOrtho was a VC++ function.
Hope it was clear?
Calling VC++ functrion from a Fortran DLL