- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I build a program in VB6 using fortran dll. On my computer, it works well but when I try my software on a computer where Visual Fortran is not installed, I've got a message "Can't find dll". I'm using CVF.
I saw on other posts that you must compiled your dll in release mode, I did it. I copied dforrt.dll in the same folder than my VB's exe.
Is there a kind of distribution kit to install before executing fortran's dll on a computer without fortran compiler?
Thanks for any answer (and sorry for my english)
Link Copied
- 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
Unfortunatly no.
I didn't specified it on my first post but I'm using Intel Fortran 9 compiler, may be it could help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just realized that I made a confusion between cvf (which should means compact ...) the compilerand the option in my fortran project.
In my project options, I choose CVF in the external procedure calling convention (it was the older option because we migrated from an older compiler compact to Intel).
That is maybe the mistake, I will try with an other calling convention (stdcall maybe?).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, the calling convention is not relevant and you should not change it unless you understand the differences.
There are different DLLs to copy. You probably need libifcorert.dll and libmmd.dll.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indead,
I used dependencywalker and it said those two dlls missed.
Should I copy them in system32?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I copied them in system32 and it works.
Thank you so much
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page