- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Right this is my first post. I have created a VB.net application that uses a fortran DLL I created. When I compile and run it, it works. When I move the vb.net application and all the relevant DLLs it still works. When I move the vb.net application to another machine with fortran...it still works....BUT...(there had to be a but or else why would you be reading this)...when I move it to a machine without fortran I get an error that Dforrtd.dll could not be found...when I scroll down I see that it says that it cannot find the Fortran DLL even although it is the same folder as the application....eh???..When I specify the folder that the DLL is contained it still says it cannot find it. Not sure I am on the right forum now that I have read this back.....
Hopefully someone will be able to help...
Ta
Marcus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compilers licensed by Intel generally include a note about entitlement to such use of the libraries. Other proprietary compilers may be much more restrictive.
Another option is to look up static link options for your compiler, which would embed the required library functions in the .exe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're using CVF, I see. The problem is that you built your DLL in a "debug" configuration and that cannot be copied to another system as it has dependencies on non-redistributable DLLs. Rebuild in a Release configuration and copy dforrt.dll (note no "d" on the end) into the Windows System folder on the target system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page