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

VB6 Progaram witn Intel Fortran DLL: "Member already exists"

Mark_Gracey
Beginner
849 Views

I am writing a program in which Visual Basic 6 modules call an Intel Fortran DLL.

In the prototype stages, I received the error discussed in this thread.

However, I was unable to find the solution, and, eventually, re-wrote the entire software from scratch.

The problem has returned, but development is now too advanced to take that approach again.

I am getting the error message:
Compile error:
Member already exists in a object module from which this object module derives.


I have attached a zip file containing the two VB modules which call the DLL and the two subroutines in the DLL.
The error appears when Calc_Airspeed is compiled within Calc_Airspeed_button_Click.
The same DLL is called, but the subroutine is different.
However, it is possible that I shall be calling the same routine from two different modules as the software expands.
Both declarations are Private.


Can anyone help?


Thanks,

Mark.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
849 Views
The problem you're having is with VB6. It isn't Fortran giving this error.
0 Kudos
Reply