<pre><font size="4">Dear All,</font><font size="4"><br><br><br>I am attempting to use Intel Visual Fortran 11.1 to add my own components to TRNSYS 16. <br>Any advice on resolving the following problem would be greatly appreciated.<br>

<br>As a fisrt step to building my own external dll, I followed the instructions in the Programmers Guide and rebuilt TRNDll using the project files located in <br>$Trnsys16\Compilers\Ivf81-Mvs2003. <br>It was necessary to remove Types 39, 90, 121 and precompiled Type 56 files from the build list to avoid fatal errors.<br>

<br>The compiled TRNDll.dll and TRNDll.lib were copied to the </font><font><font size="4">$Trnsys16\Exe directory as instructed. <br><br>In TRNSYS Studio I then tested the rebuild by trying to execute example project Begin.tpf.<br>

<br>TRNSYS.exe crashed with the error: 'cannot find TRNDll.dll'<br><br>I then followed the suggested solution posted on trnsys-users, msg01245 and replaced the following libraries with those in my compiler:<br>libifcoremd.dll<br>

libifcoremmd.dll<br>libmmd.dll<br>libmmdd.dll<br><br>This enabled TRNSYS.exe to find TRNDll, but resulted in an Intel Fortran run-time error:<br>forrtl:sever 155: allocated array is already allocated<br></font></font><font><font><font><font size="4">libifcoremd<br>

TRNDll.Dll<br>TRNEXE.exe<br>kernel32.dll<br>ntdll.dll<br><br>Thank you in advance for any suggestions of what to try next in resolving this issue.<br><br>Kind regards,<br>Leon Gaillard<br></font></font></font></font><br>
<br>
<font><font size="4"><br><br></font></font><br></pre>