- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page