- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have to build two separated DLLs in Visual Fortran which import functions from each other. Thus, building the first DLL requires the .lib file of the second DLL and building the second DLL requires the .lib information of the exported functions of the first DLL. But since I have no .lib file at the beginning I am not able to build any of these DLLs because I get an unresolved symbol error message for the functions which are located in the other DLL. How do I solve this problem?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Best, redefine it :smileyhappy:. If you can manage to pass one procedure to another dll as an argument, that will probably be the best. Or you can use LoadLibrary->GetProcAddress to load the other dll at run-time (search the Forum or see LOADEXP sample).
If neither is applicable, you can resolve the vicious circle by using a manual build. DLLEXP1 sample demonstrates that -- see this thread(but I'm not familiar with details).
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your help!

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