- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello;
I have one Fortran dll file compiled using Compaq Visual Compiler.
I need to write a code in IVF which has to access that dll. What I need to do. Will there be any problem. Since my code will be compiled using IVF compiler and dllhas been compiled using CVF compiler.
Thankyou in advance.
Regards
Avinash
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need to have the CVF run-time DLLs present on your system. You'll need to make sure that you are using the proper calling convention for calling the DLL - building your IVF application with /iface:cvf is an easy way to do that.
You will not be able to share I/O units with the CVF DLL and if you allocate data in your program you cannot deallocate it in the DLL, and vice versa.
One last thing - you cannot pass an array from IVF to a CVF routine that declares it as assumed-shape (:) as the descriptor layout is different.
You will not be able to share I/O units with the CVF DLL and if you allocate data in your program you cannot deallocate it in the DLL, and vice versa.
One last thing - you cannot pass an array from IVF to a CVF routine that declares it as assumed-shape (:) as the descriptor layout is different.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page