<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Josef,<br>
One (rather minor) note first: you don't need to copy the source
code over; once you have compiled a DLL, the source code is
irrelevant.<br>
<br>
For the problem loading the DLL, there are any number of possible
causes. Please have your colleague make sure that they are creating
a "release mode" DLL (this is a setting in the compiler. If you are
using the IVF compiler, go to the Configuration Manager and set the
configuration of the project to "release" instead of "debug"). When
you run the project on your computer, the *.lst and *.log files
should contain a notice telling you whether external DLLs are being
loaded from the ..\Trnsys17\UserLib\DebugDLLs or the
..\Trnsys17\UserLib\ReleaseDLLs directory. Please verify that they
are being loaded on both machines from the \ReleaseDLLs\ directory.
If making sure that this is all correct still doesn't work then it
would help me a lot if you could send me the DLL, the source code,
and the proforma so that I can give it a try on my computer and
determine the cause of the issue.<br>
Best,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 3/4/2013 02:18, Lipp, Josef wrote:<br>
</div>
<blockquote
cite="mid:0314157A49ECD144BB45B439D2DC84273A58EE34@BADWLRZ-SWMBX13.ads.mwn.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear TRNSYS Users,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">a colleague of mine
established a new TRNSYS type (Type 201). And it runs on his
laptop.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I tried to copy and
run this new type on my computer I get a TRNSYS message:
“type201.dll was found but did not contain any components
from the input file”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This leads do an error
and TRNSYS message 105: “A type was called in the TRNSYS
input file but was either not linked into trndll.dll or was
not found in an external dll. A dummy subroutine was called
in its place. Please link the TYPE or remove it from the
input file<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Reported information:
Type 201 could not be located in either the trndll.dll or in
external dll. Please relink the TRNDLL.dll including this
Type or make sure than an external DLL in the
]UserLib\DebugDLLs and \UserLib\ReleaseDLLs folders contain
the Type.”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I copied the file
Type201.for into C:\Trnsys17\SourceCode\Types
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">and I copied the .tmf
file to C:\Trnsys17\Studio\Proformas<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">and I copied the
Type201.dll into the DebugDlls and Release Dlls folder<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for help,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Josef<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">___________________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Dipl.-Ing.
Josef Lipp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Lehrstuhl
für Energiewirtschaft und Anwendungstechnik<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Technische
Universität München<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Arcisstr.
21<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">80333
München<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Tel.:
089-289-28316<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"
lang="EN-US">Fax: 089-289-28313<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"
lang="EN-US">Mail: <a class="moz-txt-link-abbreviated" href="mailto:josef.lipp@tum.de">josef.lipp@tum.de</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>