Hello Konrad,<br /><br />I realize that David just sent you a message, but I have another suggestion. This could be due to a compiler setting. May I assume that you are using the IVF compiler? I found at least on setting or 'Properties' difference between the TRNDLL and the MyType project (this will be corrected for the next 17.00.0019 release). Right click on MyType, go to Properties -> Fortran -> Libraries -> Runtiime Library and make sure it is set to 'Multithreaded (/libs:static /threads)'. That may or may not be the solution, but it is worth a try.<br /><br />Best regards,<br /><br />Matt Duffy<br /> <br /> <br /> <!--replyfwdwrap--><div style="background-image: url("http://webmail.fusemail.com/de/r_bg_img.gif"); background-position: center top; background-repeat: repeat-x;"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Konrad Martin" <konrad@muc.zae-bayern.de> <br /><strong>Sent:</strong> Thu, Decemb!
er 2, 2010 3:54<br /><strong>Subject:</strong> [TRNSYS-users] type works as part of TRNDLL.dll but not astypexxx.dll<br /><br /> <div class="PrivateMsgDiv"><!-- begin sanitized html --> <style type="text/css">
</style><div class="bodyclass"><div class="WordSection1"><p class="MsoNormal">Hi all!</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">I have a strange problem with compiling a type. </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">When I add the fortran code to the source code path of the TRNDLL project and rebuild the TRNDLL.dll everything is ok. I can use the type in my deck and it works fine.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">When I compile the type as a user-lib-dll, I can run the type in my deck, but it doesn’t operate correctly. It’s outputs are wrong (i.e. it returns NAN-values).</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Has anyone an idea why it works as a part of the TRNDLL.dll but not as typexxx.dll in the user lib?</span></p><p class!
="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Thanks in advance, best regards,</span></p><p class="MsoNormal"><span lang="EN-US">Martin</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p></div></div><!-- end sanitized html --> <hr size="1" noshade="noshade" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a target="_blank" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
</pre></div></div>