AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Microsoft fortran powerstation 40 serial8/31/2023 However the external program that will be using the DLL does not recognize it, so the DLL export will have to be written as in (1). The code compiles and a dll is created which is great. !DEC$ ATTRIBUTES DLLEXPORT,StdCall,Reference,ALIAS:"User_Mod" :: _User_Mod (i.e. with underscore) (2) If I then try to change the export line to: (the reason is because the subroutine User_Mod is called elsewhere in the exported code). Usrmod.dll : fatal error LNK1120: 1 unresolved externals Usrmod.obj : error LNK2019: unresolved external symbol _USER_MOD referenced in function _CLASS_LABTEST_mp_RESULTTABLE. However, this gives an error from the compiler: !DEC$ ATTRIBUTES DLLEXPORT,StdCall,Reference,ALIAS:"User_Mod" :: User_Mod (1) This is compiler version XE 4.0.0.103 on IA-32. I. My main subroutine that I want other applications to be able to access is called subroutine User_Mod(.). I have a problem when exporting code to DLL using the DLLEXPORT markup.
0 Comments
Read More
Leave a Reply. |