- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am writing a DLL, say be.dll, that exports two routines, say name1 and name2. The latter names are required (forced names) by a calling program. The caller, which is multithreaded,has a dialog window, where be.dll is entered (clicked upon) (The name may be selected by the user, but name1 and name2 must be the required ones)
MyDLL initializes with a call to DllMain. Inside name1 I call srand which requires use of the module ifport provided by IVF.
When the calling program calls name1, the following error message is received :
"Can not find Fortran libifcore.DLL in process address space"
The calling program is proprietary so I cannot link any of the providedlibifcore*.lib to it
Thus, somehow I must get the necessary DLL into the project address space. I'm recommended not to use any LoadLibrary calls at all in the DllMain documentation at MSDN2
What are Your recommendations ?
Borje Emilsson
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
Thanks for Your help, Steve / Brje 070917
1. I am using v 10.0.026
2. As explained in my question, alt 1 may not be selected for proprietary reasons
3. ... so I selected alt 2, which worked fined. However, it is not enough just to
"use ifcore", You must indeed call a routine that is inside the lib
Best regards / be
- 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