<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sleiman,<br>
      There are a few things that you need to do. First, you need to
    take a copy of the TRNDll out of the
    ..\Trnsys16\Compilers\Ivf111\TRNDll\Debug\ directory and move it
    into the ..\Trnsys16\Exe directory. In order to debug, your DLLs all
    have to be in debug mode. As soon as you move the debug version of
    TRNDll.dll into the ..\Exe directory, TRNSYS will start looking for
    external DLLs in the ..\Trnsys16\UserLib\DebugDLLs\ directory
    (instead of in the ..\Trnsys16\UserLib\ReleaseDLLs\ directory. Next,
    you need to change your DLL compile/link project from "release mode"
    to "debug mode" using the configuration manager. Last, you need to
    edit your compiler solution's properties. Select "ProjectName
    properties" from the "Project" menu. Select the "debugging" entry
    under "configuration properties" and then enter <br>
    <br>
    c:\Program Files\Trnsys16\Exe\TRNExe.exe<br>
    <br>
    in the "command" window.<br>
    <br>
    There may be some other settings that you need to modify; I am not
    sure how you generated the project that you are using to compile and
    link your DLL. <br>
    Kind regards,<br>
     David<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/25/2012 04:06, Farah, Sleiman -
      farsy019 wrote:<br>
    </div>
    <blockquote
cite="mid:BCDDD3EA74589F4C885E6EEB2824ECD4219131A2@SINPRD0111MB380.apcprd01.prod.exchangelabs.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Dear all,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I created a component (type165) in TRNSYS
          16 under windows 7 using Microsoft Visual Studio 2010. This
          component (solar collector) is connected to a weather data
          reader, pump, and hot water storage tank. In the simulation
          studio, the simulation stalls at a specific time without any
          error message. I believe that the simulation is not able to
          converge at that time which is making TRNSYS irresponsive. I
          have been trying to debug the component, however an error
          message {Unable to start program ‘C:\Program
          Files\Trnsys16\UserLib\ReleaseDLLs\Type165Lib.dll’} keeps
          popping up in Microsoft Visual Studio as soon as F5 (debug) is
          clicked. The file (Type165Lib.dll) do exist in that directory.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Any suggestion how to make the debugging
          possible is highly appreciated.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Regards,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Sleiman<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>