- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I had a project in CVF. We made a fortran dll using that. I added the code in a new fortran dll project in VS2005 when I am building the code I am getting the following error.
Error24 fatal error LNK1107: invalid or corrupt file: cannot read at 0x2A8C:dforrt.dll
I am adding the dlls using the following process.
project->properties->linker->additional dependencies-> here i am givin "C:*.dll" since I am using multiple dlls while reading dforrt.dll i get this error can you please help me out.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is incorrect to add .dll files to additional dependencies. What you want to specify instead is the export library (.lib) that was created when you built the DLL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can't use the CVF run-time libraries with ifort. You must allow the compiler to choose the appropriate libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You CAN do this by isolating the CVF code into a DLL, with some limitations. I think that's what's being done here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Guys i guess i have figured the problem . That is I have one dll which has a dependency on dforrt.dll since it was buit in CVF I guess I have to rebuilt that dll using IVF.
![](/skins/images/3CECF0550DB8BF54496C114A1FF06FE9/responsive_peak/images/icon_anonymous_message.png)
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