Mixed Languages - GetOpenFilename and Win16

Mixed Languages - GetOpenFilename and Win16

I used the mixed languages sample C_call_f (CVF version 6.6a) to construct a dll from the FSUB subroutine. I could call this dll from within a Win16 C-like program and it worked.
Then I replaced FSUB by a subroutine that calls GetOpenFilename (a GetOpenFilename.F90 example is used to construct the subroutine).
This approach works with the Cmain function, in a Win32 environment.
The question is can it work in a Win16 environment.
Since I can execute the GetOpenFilename part and get the correct files, but as soon as the control is returned to the Win16 caller, an error occurs and the arguments are not passed to the Win16 caller.
Do you have any suggestions?

1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.