Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

Assumed size arguments in interlanguage DLLs

rahzan
New Contributor I
366 Views
I use CVF6.6b.
In the context of COM dlls the contruct
subroutine sub(x)
real(4), intent(in) :: x(1:,1:)
...
i=size(x,1)
gives the right answer when called from another client such as VB, but using plain DLLs the size functions gives a nonsensical number.
Now the COMinterface probably converts all arrays to safearrays which is why the size info is carried over, and thatmay bethe explanation.
Is there a way to make it work with plain cvf dlls?
Thanks,
Tim
0 Kudos
0 Replies
Reply