<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Xavier,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
There are a number of things you can check :</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ul>
<li><span>architecture : are all machines 32 or 64 bit ?</span></li><li><span>dependencies : do the types use any third-party DLLs (e.g. C runtime, .Net framework, ...) that you have on your laptop but not on the production machine ?</span></li><li><span>debug vs. release : are you using a recompiled version in debug mode on your laptop, while the other machine uses a 'normal' (release' TRNSYS ?</span></li><li><span>do the types make assumptions about the environment (e.g. existing directories, files or environment variables) which make them return something different than one when they do not find them ?</span></li></ul>
<div><span><br>
</span></div>
<div><span>There are certainly others...</span></div>
<div><span><br>
</span></div>
<div><span>Werner</span></div>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org> de la part de Jobard Xavier via TRNSYS-users <trnsys-users@lists.onebuilding.org><br>
<b>Envoyé :</b> jeudi 21 janvier 2021 17:13<br>
<b>À :</b> trnsys-users@lists.onebuilding.org <trnsys-users@lists.onebuilding.org><br>
<b>Cc :</b> Jobard Xavier <xavier.jobard@heig-vd.ch><br>
<b>Objet :</b> [TRNSYS-users] error with dll found but is not loading the type on Virtual Machine Win10</font>
<div> </div>
</div>
<div lang="FR-CH">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Dear TRNSYS user,</p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
</p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">I am trying to run a Trnsys deck with non-standard types (Type 832 and Type 6139) on a virtual machine (win10).
</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">A simple example (SDHW.dck) works fine. However my deck with type832 and type6139 which works fine on my laptop throws the errors but are actually listed as found further up the log file :</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">*** Fatal Error at time : 0.000000</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> Generated by Unit : Not applicable or not available</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> Generated by Type : 832</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> 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</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> Reported information : Type832 could not be located in either the trndll.dll or in an external dll. Please relink theTRNDll.dll including this Type or make sure that an external DLL in the \UserLib\DebugDLLs and \UserLib\ReleaseDLLs
folders contain the Type.</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"></span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">*** Fatal Error at time : 0.000000</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> Generated by Unit : Not applicable or not available</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> Generated by Type : 6139</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> 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</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> Reported information : Type6139 could not be located in either the trndll.dll or in an external dll. Please relink theTRNDll.dll including this Type or make sure that an external DLL in the \UserLib\DebugDLLs and \UserLib\ReleaseDLLs
folders contain the Type.</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">These 2 types are distributed by research institutes and were not recompiled in any way. Type 832 was used on several machines without problem before.</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">Can somebody help ?</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<table class="x_MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:7.5pt; font-family:"Arial",sans-serif"><img width="34" height="71" id="x__x0000_i1025" alt="http://correspondance.heig-vd.ch/assets/heig.png" style="width:.3541in; height:.7395in" src="http://correspondance.heig-vd.ch/assets/heig.png"></span><span style="font-size:7.5pt; font-family:"Arial",sans-serif"></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; margin-bottom:12.0pt">
<span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#D62731; text-transform:uppercase">Xavier Jobard</span><span style="font-size:7.5pt; font-family:"Arial",sans-serif"><br>
Ing. INSA Strasbourg<br>
<br>
Collaborateur Ra&D</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:105%">
<span style="font-size:7.5pt; line-height:105%; font-family:"Arial",sans-serif">Institut de Génie Thermique (IGT)<br>
Laboratoire d’énergétique solaire et de physique du bâtiment (LESBAT)</span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; margin-bottom:12.0pt">
<span style="font-size:7.5pt; font-family:"Arial",sans-serif"> </span></p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:7.5pt; font-family:"Arial",sans-serif">Prof. :
</span></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:7.5pt; font-family:"Arial",sans-serif">+41 24 557 28 17</span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:7.5pt; font-family:"Arial",sans-serif">Site web :
</span></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:7.5pt; font-family:"Arial",sans-serif">http://www.lesbat.ch</span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm"></td>
<td style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; margin-bottom:12.0pt">
<span style="font-size:7.5pt; font-family:"Arial",sans-serif"><a href="mailto:xavier.jobard@heig-vd.ch"><span lang="EN-US" style="color:blue">xavier.jobard@heig-vd.ch</span></a></span><span lang="EN-US" style="font-size:7.5pt; font-family:"Arial",sans-serif"></span></p>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
</div>
</div>
</div>
</body>
</html>