<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Henk,<br>
There is likely a setting in the MyType and the TRNDll projects
that are not compatible with each other. Look in particular at
whether the two DLLs are set to have static or dynamic run time
libraries and also make sure that both are exporting names in the
same way (uppercase vs. lowercase). <br>
Kind regards,<br>
David<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 7/22/2014 10:29, Henk Stijnen wrote:<br>
</div>
<blockquote
cite="mid:8CA54553F30B484FB81AD5F387C074F92F430EF4@MEX02.DWANET.LAN"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.E-mailStijl17
{font-family:"Arial","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">Hi
all,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">I’ve
made some user-defined types in trnsys 16.1. The compiled
C++ code is stored in MyType.dll. All OK.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">Now
I’m trying to use the types in trnsys 17 and I get error
that the type is not found. The system found the dll but not
the type.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">In the
log file I see the message: “MyType.dll was found but did
not contain any components form the input file”</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">Very
strange is that when I use TrnSys17Demo all works OK!!</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">What
can be at hand?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">Thanks
for help and suggestions</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">Regards,
Henk</span></p>
</div>
<div style="font-size:9pt; font-family:'Arial'"><b>
<p>Op dit e-mailbericht is een disclaimer van toepassing. Zie:<a
moz-do-not-send="true" href="http://www.dwa.nl/disclaimer">
www.dwa.nl/Disclaimer</a>.</p>
<hr style="margin-top:0px">
</b></div>
<b>
</b>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</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>