Hello everybody,

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[600], float y[600],

float heightCoef[600], float slope[600]);

I call the function this way in fortran:

Call StoreOrtho(X,Y,HEIGHT_COEF,SLOPE)

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?

Demo_360