<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ivy,<br>
I would guess that you need to add the file TRNDll.lib to your
external DLL project. An "unresolved external" error means that the
code was looking for something (usually a function or a subroutine)
that it can't find. In this case, the definition of the function
"getSimulationStartTime()" and the subroutine "TYPECK" are both
contained in the TRNDll.lib file.<br>
Kind regards,<br>
David<br>
<br>
<br>
baitao444 wrote:
<blockquote
cite="mid:9955747.575771225603135656.JavaMail.coremail@bj163app110.163.com"
type="cite">
<div>
<div>Hello!</div>
<div> </div>
<div>I am sorry to bother you! I hope somebody can help me to solve
the problem in TRNSYS Thanks in advance!</div>
<div>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<br>
<br>
Linking...<br>
Creating library Release/BLSLib.lib and object Release/BLSLib.exp<br>
type112.obj : error LNK2001: unresolved external symbol<br>
_TRNSYSFUNCTIONS_mp_GETSIMULATIONSTARTTIME<br>
type112.obj : error LNK2001: unresolved external symbol _TYPECK<br>
Release/BLSLib.dll : fatal error LNK1120: 2 unresolved externals Error<br>
executing link.exe.<br>
<br>
BLSLib.dll - 3 error(s), 0 warning(s)</div>
<div> </div>
<div> </div>
<div>Has anybody an idea? Linked to TRNDLL.dll the types (in TRNSYS
16 mode)<br>
work fine. I already checked the manual for the project settings.<br>
Everything should be ok. I have to admit that I'm not a FORTRAN pro so<br>
the solution to that problem might be very simple...<br>
I hope you can tell me how to link my own component to the external DLL.<br>
</div>
<div>Best regards<br>
</div>
<div>Ivy<br>
<br>
</div>
<div> </div>
<div> </div>
<div> </div>
</div>
<br>
<!-- footer --><br>
<hr><font style="font-size: 12px; line-height: 15px;">[广告] </font><font
style="font-size: 12px; line-height: 15px;">金秋最</font><a
moz-do-not-send="true"
style="font-size: 12px; line-height: 15px; color: blue; text-decoration: underline;"
href="http://popme.163.com/link/003985_1010_7027.html">关注楼盘-房不胜房</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 22 N. Carroll Street - Suite 370
Partner Madison, WI 53703
USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a>
Web Pages: <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a> and <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>
***********************************************************************</pre>
</body>
</html>