Syntax:
The /iface option determines the type of argument-passing conventions used by your program for general arguments and for hidden-length character arguments.
In the visual development environment, specify the Default Calling Conventions and the String Length Argument Passing in the External Procedures Compiler Option Category. The /iface keywords are as follows:
/iface:cref | /iface:default | /iface:stdref | |
---|---|---|---|
Arguments are passed | By reference | By reference | By reference |
Append @n to names on ia32 systems? | No | Yes | Yes |
Who cleans up stack | Caller | Callee | Callee |
Var args support? | Yes | No | No |
Requests that the hidden lengths be placed immediately after their corresponding character argument in the argument list, which is the method used by Microsoft Fortran PowerStation.
Requests that the hidden lengths be placed in sequential order at the end of the argument list, which is the method used by Compaq Fortran for Tru64 UNIX systems by default. When porting mixed-language programs that pass character arguments, either this option must be specified correctly or the order of hidden length arguments changed in the source code.
If you omit the /iface option, the following is used:
/iface=(default,mixed_str_len_arg)
For more information on argument passing, see Programming with Mixed Languages.