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

baitao444 baitao444 at 163.com
Sat Nov 1 22:18:55 PDT 2008


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

 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20081102/c1968306/attachment-0005.htm>


More information about the TRNSYS-users mailing list