- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have created a DLL in FORTRAN 90. When it built it went just fine. Compiled the dll, lib, and obj files. I was able to call it from a C++ program and it worked great. I went to do it again, and it just won't compile the lib file. It does the dll and obj files, but not the lib. I, of course, need the lib to link to the C++ so I can get it to work. I went to the project properties for both projects and they were the exact same. I didn't change anything on the first one...it was all default values so I did the same thing on the second one and it didn't work. Any ideas please!
Ryan
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler is not seeing a DLLEXPORT directive for the routine. Sometimes this is due to a typo or in fixed-form source because the line is too long.

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