<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=us-ascii"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Dear Mika,<br>
      A DLL can be compiled in either "debug" or "release" modes. I
    think what happened is that your original TRNDll.dll and the
    Type344.dll that you got from Transsolar are both "release mode"
    dlls. A release mode TRNDll looks for external DLLs in the
    ..\Trnsys17\UserLib\<font color="#ff0000">ReleaseDLLs</font>\
    directory. When you recompiled TRNDll.dll, however, it recompiled in
    "debug mode" (this is a compiler configuration setting) so the new
    TRNDll.dll is now looking for Type344.dll in the
    ..\Trnsys17\UserLib\<font color="#ff0000">DebugDLLs</font>\
    directory and there likely isn't a Type344.dll in there. If Type344
    does not use any data files then it is pretty safe to just move a
    copy of Type344.dll into the ..\DebugDLLs\ directory. If it does use
    data files then you will need to obtain a Type344.dll that is
    compiled in debug mode instead of release mode.<br>
    Kind regards,<br>
     David<br>
    <br>
    <br>
    On 3/8/2011 01:14, Yoshinaga Mika wrote:
    <blockquote cite="mid:000001cbdd60$7a7e0830$6f7a1890$@meijo-u.ac.jp"
      type="cite">
      <pre wrap="">Dear all,

I'm facing a difficult problem. A non-standard-type.dll (Type344 from TRNSSOLAR) can't be worked on Simulation Studio after rebuilding TRNDll.dll by CVF6.6b. 
Before rebuilding, Type344 had run successfully. Then I just have opened \TRNSYS17\Compilers\Cvf66\Cvf66.dsw by CVF6.6b and Selected "Build->Rebuild All" and rebuild have done without any error.
After rebuilding, all projects using standard types and non-standard TESS Types could simulate well but a project file including Type344 was ended with the following error message.

-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
-Reported information  :  Type344 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.

Type344.dll is surely placed in \Trnsys17\UserLib\ReleaseDLLs!! TRNSYS17 has been upgraded to the latest version just to be safe. 

I was wondering if you could give me a few tips to clear it up. Thank you in advance.

Best regards,
Mika

Mika Yoshinaga
Meijo university, Japan




_______________________________________________
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>