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

Timo Sengewald timo.sengewald at bls-energieplan.de
Wed Mar 23 00:06:54 PST 2005


I am sorry I bothered you! Sometimes manuals are meant to be read
completely. I had to add TRNDll.lib to my project. Everything works fine
now.



-----Ursprüngliche Nachricht-----
Von: trnsys-users-bounces at engr.wisc.edu
[mailto:trnsys-users-bounces at engr.wisc.edu] Im Auftrag von Timo
Sengewald
Gesendet: Mittwoch, 23. März 2005 08:51
An: TRNSYS-group
Betreff: [TRNSYS-users] Drop-in dll, cannot call external functions


Hello!

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...


Best regards


Timo



________________________________________________
Timo Sengewald

BLS Energieplan GmbH
Elsenstraße 106
D-12435 Berlin
Tel.: +49 30 53 32 81-0
Fax: +49 30 53 32 81-40


www.bls-energieplan.de


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users





More information about the TRNSYS-users mailing list