I would like to find out if there is a way to create fortran dll that in turn will be called by VB 6.0. So far i have tried multiple different ways to accomplish this but it seems that i can not create a dll that will work just right. When the dll is called by Visual Basic 6.0 the following error message is displayed:
"Run Time Error 453"
Can't find DLL entry point _xadd@8 in .....
The fortran dll has one subroutine called xadd, which takes two parameters, both single in VB or real*4 in fortran and it outputs their result. I read numerous articles on this topic but had no luck so far. What am i doing wrong? Any ideas, comments or suggestions would be appreciated, thanks.