<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Max,<br>
 To add to Werner's comment, CVF version 6.6b is used to compile the
TRNDll. If you are using a different build of the CVF 6.6 compiler
(6.6a for example), that may be the cause of the problem.<br>
Kind regards,<br>
 David<br>
<br>
<br>
keilholz, werner wrote:
<blockquote
 cite="mid:E334C7DA1828844EBDEAB036EE93D62CB4294B@MAUDE.cstb.local"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
  </style>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Max, <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">These
errors seem to
indicate that the .obj files used by type 56 are not compatible with
your
compiler – are you using the correct compile project? (If the problem
persists, you should obtain an update for the .obj files for type 56). <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">But
if you just want to
debug your type, I think it is not necessary to recompile trndll.dll
(this was
the case in old versions of TRNSYS, 15 and before). <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Please
look at the
attached example: in this configuration, you will NOT be able to debug,
as the
DLL loaded (white output window) is not the one debugged (blue window
on top). <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">It
doesn’t matter
if TRNDLL is in debug mode or not, you just need to load the right DLL
into the
debugger – that sort of problem has nothing to do with TRNSYS in
particular, it’s the way the debugger works. <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Werner<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">De :</span></font></b><font
 face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;"> Max Werlein
[<a class="moz-txt-link-freetext" href="mailto:maxwithhat@hotmail.com">mailto:maxwithhat@hotmail.com</a>] <br>
  <b><span style="font-weight: bold;">Envoyé :</span></b> mardi 20
janvier
2009 10:11<br>
  <b><span style="font-weight: bold;">À :</span></b> trnsys users<br>
  <b><span style="font-weight: bold;">Objet :</span></b> [TRNSYS-users]
FW:
CVF6.6</span></font><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Verdana"
 size="2"><span style="font-size: 10pt; font-family: Verdana;"><o:p> </o:p></span></font></p>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">
  <hr id="stopSpelling" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Verdana"
 size="2"><span style="font-size: 10pt; font-family: Verdana;">From:
<a class="moz-txt-link-abbreviated" href="mailto:maxwithhat@hotmail.com">maxwithhat@hotmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a><br>
Subject: RE: [TRNSYS-users] CVF6.6<br>
Date: Tue, 20 Jan 2009 10:10:30 +0100<br>
  <br>
I forgot to add the error message i get while compiling the TRNDLL
project:<br>
  <br>
Comv-tm4.obj : error LNK2001: unresolved external symbol
_for_read_dir_i8<br>
Comv-tm7.obj : error LNK2001: unresolved external symbol
_for_read_dir_i8<br>
Comv-che.obj : error LNK2001: unresolved external symbol
_for_read_dir_i8<br>
Comv-deb.obj : error LNK2001: unresolved external symbol
_for_read_dir_i8<br>
Comv-tm1.obj : error LNK2001: unresolved external symbol
_for_read_dir_i8<br>
Comv-tm2.obj : error LNK2001: unresolved external symbol
_for_read_dir_i8<br>
Comv-inh.obj : error LNK2001: unresolved external symbol
_for_write_dir_i8<br>
Comv-tm1.obj : error LNK2001: unresolved external symbol
_for_write_dir_i8<br>
Comv-tm4.obj : error LNK2001: unresolved external symbol
_for_write_dir_i8<br>
Comv-tm7.obj : error LNK2001: unresolved external symbol
_for_write_dir_i8<br>
Debug/TRNDll.dll : fatal error LNK1120: 2 unresolved externals<br>
Error executing link.exe.<br>
  <br>
TRNDll.dll - 11 error(s), 433 warning(s)<br>
  <br>
Thanks in advance<br>
  <br>
max<o:p></o:p></span></font></p>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">
  <hr id="EC_stopSpelling" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><font face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">Date: Mon, 19 Jan 2009
15:31:58 -0600<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:maxwithhat@hotmail.com">maxwithhat@hotmail.com</a><br>
CC: <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@engr.wisc.edu">trnsys-users@engr.wisc.edu</a><br>
Subject: Re: [TRNSYS-users] CVF6.6<br>
  <br>
Max,<br>
 The first thing to make sure of is that you need to rebuild the DLL
with
your Types from the newly installed CVF. I would also recommend
deleting all of
the intermediate files that CVF has created in making the new DLL.
These are
usually in the ..\Trnsys16_1\Compilers\...\Debug and ..\Release folders
and
have the extension *.obj <br>
Kind regards,<br>
 David<br>
  <br>
  <br>
Max Werlein wrote: <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Verdana"
 size="2"><span style="font-size: 10pt; font-family: Verdana;"><br>
Dear TRNSYS users,<br>
  <br>
I have written a type with CVF 6.6. Y could Debug it without any
problems
before. After reinstalling the computer, I installed both TRNSYS and
CVF again
implemented my typs, and the simulations run without a problem. When I
try to
debug the tzpes in CVF the simulation does not stop at the b
reakpoints. The
simulation just run trough (or gives an error) but does not stop at the
setted
breakpoints. I suspect the DF60.PDB file to have to do something with
the
problem because when I debug sometimes CVF asks locate the DF60.PDB
file. I
indicate the location in the userlibs\debug and then the CVF gives and
error
and needs to be closed. After this procedure the project does not seem
to be
debugable anymore. I am a bit confused! Maybe someone can help me?<br>
  <br>
Tanks in advance <br>
  <br>
max<o:p></o:p></span></font></p>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">
  <hr align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><font face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">¡Y compártelas en
Windows Live Fotos! <a moz-do-not-send="true"
 href="http://photos.live.com/%20">Estas fiestas diviértete tomando
fotos.</a> <o:p></o:p></span></font></p>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">

_______________________________________________

TRNSYS-users mailing list

<a moz-do-not-send="true" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>

<a moz-do-not-send="true"
 href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>

  <o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;"><o:p> </o:p></span></font></p>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">-- 

***********************************************************************

Thermal Energy System Specialists (TESS), LLC 

David BRADLEY                      22 N. Carroll Street - Suite 370 

Partner                            Madison, WI 53703 

                                   USA

P: +1.608.274.2577 

F: +1.608.278.1475

E-mail: <a moz-do-not-send="true" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a> 

Web Pages:  <a moz-do-not-send="true" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a
 moz-do-not-send="true" href="http://www.trnsys.com">http://www.trnsys.com</a>



***********************************************************************<o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;"><o:p> </o:p></span></font></p>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">
  <hr align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><font face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">¡Y compártelas en
Windows Live Fotos! <a moz-do-not-send="true"
 href="http://photos.live.com/%20">Estas fiestas diviértete tomando
fotos.</a><o:p></o:p></span></font></p>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">
  <hr align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><font face="Verdana" size="2"><span
 style="font-size: 10pt; font-family: Verdana;">¡Descúbrelo! <a
 moz-do-not-send="true"
 href="http://www.microsoft.com/latam/windows/windowslive/"
 target="_new">¿Qué
puedes hacer con el nuevo Windows Live?</a><o:p></o:p></span></font></p>
  </div>
  <br>
  <br>
  <br>
  <br>
************************************************************************************<br>
This footnote confirms that this email message has been scanned by<br>
PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses.<br>
************************************************************************************<br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
************************************************************************************<br>
This footnote confirms that this email message has been scanned by<br>
PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses.<br>
************************************************************************************<br>
  <br>
  <br>
  <br>
  <hr size="4" width="90%"><br>
  <center><img src="cid:part1.09030305.08010709@tess-inc.com"></center>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a> 
Web Pages:  <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>

***********************************************************************</pre>
</body>
</html>