- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With "Default" and "C, REFERENCE", I can build the DLL (with or without calling the IMSL routines), but LoadLibrary is failing. In my C code, when it fails I try and make sure that the file exists and can be read, and that appears to work just fine, so C recognizes that there's a file there, but not a DLL. Using any of the STDCALL options, I can't link in the IMSL libraries.
Using STDCALL, and commenting out the IMSL, it'll load the DLL.
Does this make ANY sense?
Using STDCALL, and commenting out the IMSL, it'll load the DLL.
Does this make ANY sense?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Ifort, the IMSL routines have C calling convention. When you use LoadLibrary, any DLLs you depend on have to be in one of the default locations (such as on PATH). Did you build against the IMSL DLLs? If so, the path to those needs to be on PATH.

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