ccrum
Electrical
- Apr 20, 2001
- 17
I'm trying to call a C++ DLL from my fortran code. I know how to declare the functions in FORTRAN for this, but what I don't know is how to actually link the C++ DLL to my FORTRAN program. In the past I have called C DLL's but they came with a static library ".lib" file that I could but in the linker. The C++ code only has the .h (header file I think) and the DLL. Do I just link the .h file? Or do I need to have a static library? Obviously I'm ont a C++ programmer, so any help would be appreciated.
Regards,
Cameron
Regards,
Cameron