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

Problem with DLL built using IVF instead of Compaq

zalcjm
Beginner
654 Views
Hi,
I have a DLL originally constructed using CVF and called without problems from VB. The Fortran routine in the DLL accepts several 1D arrays of doubles, as well as a few integer and double scalars as I/O.
When I rebuild the DLL using IVF, it turns out that all of the data passed to the subroutine in the Intel-built DLL are ok, except for one of the 1D arrays of doubles that has 3 zeros at the beginning, with the rest of the values correct but shifted downward in the array by 3 places.
I've tried various options in the External Procedures section, especially the calling conventions Default, CVF, C by ref, etc. Nothing seems to help.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
654 Views
Seems like an indexing problem, but I can't think of what would be different. Same version of VB? Please submit a test case (including the VB code) to Intel Premier Support and we'll look at it.
0 Kudos
Reply