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

Using C Data Structures in Fortran

cbelwal
Beginner
699 Views
Hello,
I want to build up a common data structure library which will be used in VB, Fotran and C apps. The choices are C and Fortran. If I build up a DLL with only Modules how can I use them in C. Alternately if I have a C DLL with struct definitions how do I use them in Fortran.
I tried to create a COM server in Fortran but apparently it does not expose the data structures inside a Module. Any help will be appreciated.
Thanks,
Chaitanya
0 Kudos
0 Replies
Reply