- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to run a FORTRAN 90 DLL in a VBA Excel application. My fortran program has a lot of mathematical functions such as: COS, SIN, SQRT,NINT, etc. I use Compaq Visual Fortran 6.6 compiler to create the DLL file. Each time I try to run this DLL in my VBA program the following error message appears:
?Run time error 53, File Not Found ...?.
When I remove those mathematical functions from my Fortran codes and leave simple operations there, the DLL just works fine. I appreciate if you can help me in this regard.
?Run time error 53, File Not Found ...?.
When I remove those mathematical functions from my Fortran codes and leave simple operations there, the DLL just works fine. I appreciate if you can help me in this regard.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Thank you for your respond. I tried what you mentioned and I got the same error message
"Run time error '53'
File Not Found ......"
Do you have any other suggestion?
- Peter -
my email addresses are
CQTran@cessna.textron.com
chinhqnguyen@yahoo.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure your DLL is built in a "Release Configuration" and not "Debug Configuration".
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
I GOT IT , Steve :-) :-) :-) :-)
Exactly as you said, my project has been built in "Debug Configuration" so it caused me many troubles when I tried to call Fortran subroutines in the VBA program. After changing to "Release Configuration", my program is running very fine.
Thanks you for your help.
Again thank you very...very...very... much, Steve.
Have a good day, Steve
- Peter -
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