- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I compiled with Intel Visual Fortran a DLLto do some mathematical computation. I called this dynamic-library from visual basic in excel. I haved some initial issues, butI read in this forum all the information regarding the comunication between the programminglanguages. So I use the !DEC$ ATTRIBUTES DLLEXPORT,STDCALL,REFERENCE statement and everything worked fine.
But when i define a local allocatable variable inside the dll, when i call the subroutine from excel, nothing happens and i get a #VALUE! error.
What is the problem? Please help me.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried calling your function from a Fortran program, to see if your function runs fine on its own?

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