[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TRNSYS-users] Drop-in dll, cannot call external functions



Hello!
 
I am sorry to bother you! I hope somebody can help me to solve the problem in TRNSYS Thanks in advance!
Since the release of TRNSYS 16 I linked my own types into the TRNDll.dll in legacy mode. Know I wanted to update the sources to TRNSYS 16 (using the acces functions, using double precision...) and wanted to link them into an user-dll. But during the linking process I get the error message

Linking...
   Creating library Release/BLSLib.lib and object Release/BLSLib.exp
type112.obj : error LNK2001: unresolved external symbol
_TRNSYSFUNCTIONS_mp_GETSIMULATIONSTARTTIME
type112.obj : error LNK2001: unresolved external symbol _TYPECK
Release/BLSLib.dll : fatal error LNK1120: 2 unresolved externals Error
executing link.exe.

BLSLib.dll - 3 error(s), 0 warning(s)
 
 
Has anybody an idea? Linked to TRNDLL.dll the types (in TRNSYS 16 mode)
work fine. I already checked the manual for the project settings.
Everything should be ok. I have to admit that I'm not a FORTRAN pro so
the solution to that problem might be very simple...
I hope you can tell me how to link my own component to the external DLL.
Best regards
Ivy

 
 
 
 



[广告] 金秋最关注楼盘-房不胜房