<br><font size=2 face="sans-serif">Dear Jeff and Matt,</font>
<br>
<br><font size=2 face="sans-serif">Thank you both for helping me with this
problem.</font>
<br>
<br><font size=2 face="sans-serif">I had missed the DLLExport line because
my compiler printed it in green like all the comments. Now everything is
working fine.</font>
<br>
<br><font size=2 face="sans-serif">Best regards,</font>
<br><font size=2 face="sans-serif">Knut Erik</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">"Jeff Thornton" <thornton@tess-inc.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">knut.erik.enerstvedt@niva.no, trnsys-users@engr.wisc.edu</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">09.12.2009 18:43</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [TRNSYS-users] TRNSYS error: Type
called in input file,     but not linked or found in external
dll</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2><The List file also says that "Type240.dll<br>
(my new Type) was found but did not contain any components from the input<br>
file". I can not understand how both these messages can appear at<br>
the same time.><br>
<br>
Make sure the subroutine line of your new code (usually the first line)<br>
has your new type number listed:<br>
<br>
Subroutine Type240(<br>
<br>
and that the DLLExport line also has the 240 designation:<br>
<br>
!DEC$ATTRIBUTES DLLEXPORT :: TYPE240<br>
<br>
That's usually the source of the error.<br>
<br>
Jeff<br>
<br>
<br>
Jeff Thornton<br>
President - TESS, LLC<br>
<br>
22 North Carroll Street - Suite 370<br>
Madison WI 53703 USA<br>
<br>
Phone: 608-274-2577<br>
Fax: 608-278-1475<br>
E-mail: thornton@tess-inc.com<br>
Web: </font></tt><a href="www.tess-inc.com"><tt><font size=2>www.tess-inc.com</font></tt></a><tt><font size=2><br>
<br>
</font></tt>
<br>
<br><font size=2 face="sans-serif"><br>
------------------------------------------------------------------------------------------------------------<br>
Meld deg på vårt nyhetsbrev på </font><a href=www.niva.no><font size=2 face="sans-serif">www.niva.no</font></a>