Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

Mixed Languages - GetOpenFilename and Win16

Giel_H_
Beginner
646 Views
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?
0 Kudos
0 Replies
Reply