<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Dear David Bradley, <br><br>What do you mean by the trndll.dll project workspace. I have added all my created types to the CFv66.dsw workspace. Is that the workspace you meant. And if it would run a different compiled version, would the debbuger actually enter the code to the first breakpoint? I also tried to delete the .dll files in both  ..\Trnsys16\UserLib\ReleaseDLLs and 

..\Trnsys16\UserLib\DebugDLLs and rebuild them.<br><br>Thanks for you rapid answer <br>Max Werlein<br></div><br><br><br><hr id="EC_stopSpelling">Date: Mon, 8 Sep 2008 10:09:20 -0500<br>From: bradley@tess-inc.com<br>To: maxwithhat@hotmail.com<br>CC: trnsys-users@engr.wisc.edu<br>Subject: Re: [TRNSYS-users] Debuging problem<br><br>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
  


Max,<br>
 If you are able to, try to add your Type to the TRNDll.dll project
workspace instead of having it in its own workspace. When the
TRNDll.dll is in its "release" mode (the way that it is distributed),
it loads external DLLs from the ..\Trnsys16\UserLib\ReleaseDLLs
directory and when it is in its "debug" mode, it loads them from
..\Trnsys16\UserLib\DebugDLLs. When you run from the debugger, it might
be loading a different compiled version of your Type than you think.<br>
Kind regards,<br>
 David<br>
<br>
Max Werlein wrote:
<blockquote cite="mid:BAY144-W419A501CAB131351921F4EC4550@phx.gbl">
  <style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
  <div style="text-align: left;">Dear TRNSYS users, <br>
  <br>
I created a type, using various differential equations. The modell work
well while I simulated it in the Simulation Studio. Now while I try to
debug the type (because at a certain timestep there is a problem of
convergance) using the same .dck file as before there appears a problem
after a return1 line. Thus the control is returend to transys and then
an error occurs, saying the the external dll was not linked. This seems
absurd since the simulation workes perfectly well while executed in the
Simulation Studio.<br>
  <br>
Thanks in advance <br>
  <br>
max<br>
  </div>
  <br>
  <hr>Express yourself instantly with MSN Messenger! <a href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/" target="_blank">MSN Messenger</a>
  <pre><hr size="4" width="90%">
_______________________________________________
TRNSYS-users mailing list
<a class="EC_moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="EC_moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users" target="_blank">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
  </pre>
</blockquote>
<br>
<pre class="EC_moz-signature">-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      2916 Marketplace Drive - Suite 104 
Partner                            Madison, WI 53719 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: <a class="EC_moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a> 
Web Pages:  <a class="EC_moz-txt-link-freetext" href="http://www.tess-inc.com" target="_blank">http://www.tess-inc.com</a>    and      <a class="EC_moz-txt-link-freetext" href="http://www.trnsys.com" target="_blank">http://www.trnsys.com</a>

***********************************************************************</pre>


<br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>