- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to access a library and keep getting the following error:
error LNK2019: unresolved external symbol _myfunction@12 referenced in function _MAIN_
I have the "Additional Library Directories" under the Linker -> General tab of the project set to the directory of my library and the "Additional Dependencies" under the Linker -> Input tab of the project set to the name of the library. Is there anything that I am missing?
Thanks in advance for any help!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are either calling from C/C++ with __stdcall specified, or you have Fortran options that apply the STDCALL calling mechanism to this routine. Is that correct for the routine and is the case of the name (lowercase) correct?
What is the structure of your application? All Fortran? Mix? What type of project (Console?) What are the compiler options shown on the Fortran Command :Line property page?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page