<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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";
        color:black;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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]-->
</head>
<body bgcolor="white" lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">That’s what I did finally… but not really understanding what’s happen, not so good.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Here’s what I’ve tested, if it can helps someone.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">W7 IVF11.1 MVS2008<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><target/project>                             TRNDLL                                                Mytype                                               Results<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">release                               
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded (static)                   multithreaded<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :                                                                                                                                             Build ok ,
 simulation ok<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded (static)                   multithreaded DLL<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :                                                                                                                                             Build ok ,
 simulation ok : I keep this choice<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded DLL                          multithreaded<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :                msvcrt.lib                                                                                                          Build ok
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded DLL                          multithreaded DLL<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :                msvcrt.lib                                                                                                          Build ok but no types
 can be loaded at runtime by trnexe from mytype.dll ????<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">debug<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded (static)                   multithreaded<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :                                                                                                                                                            
 idem<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded (static)                   multithreaded DLL<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :                                                                                                                                                            
 idem<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded DLL                          multithreaded<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :               
<u>msvcrtd.lib</u>                                                                                                                       idem<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">runtime library:                multithreaded DLL                          multithreaded DLL<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">ignore spec lib :               
<u>msvcrtd.lib</u>                                                                                                                       idem<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">
 David BRADLEY [mailto:d.bradley@tess-inc.co</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">m]
<br>
<b>Envoyé :</b> jeudi 11 août 2011 17:24<br>
<b>À :</b> CHEZE David 227480<br>
<b>Cc :</b> trnsys-users@engr.wisc.edu<br>
<b>Objet :</b> Re: [TRNSYS-users] TRNSYS17 IVF111 - building solution (mytype+trndll)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">David,<br>
  It might be simpler just to add your Type to the TRNDll. The only reason that we provide the mytype project is so that you don't have to recompile the TRNDll. If you have to recompile the TRNDll anyway for some other purpose then its far simpler to keep all
 of your Types (the standard ones and whatever ones you have written) in the TRNDll project; it makes stepping through the code one line at a time while debugging MUCH easier.<br>
Regards,<br>
 David<br>
<br>
<br>
<br>
On 8/11/2011 07:00, CHEZE David 227480 wrote: <o:p></o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’m puzzling while trying to build whole solution from latest ivf111 directory provided in the last TRNSYS17.0019 installation, building dlls that can run my projects (some build looks correct while failing to run TRNSYS
 project).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I need to build trndll because of user types running in legacy mode and I need to build mytype including sourcode of all of my more recent user types.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Because some of mytype’s types have to access data file referenced by an assign statement in my decks, mytype and trndll have to be build with the same runtime library (and same version release/debug) : in the ivf101
 solution for mytype provided on trnsys website, runtime library is ‘multithreaded dll’ while it is ‘multithreaded’ only in ivf111 directory from the latest installation of TRNSYS17 and both are different from what is said about that for ivf in the latest TRNSYS
 programmer guide… it’s not so clear also about the ignored libraries…</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Please can you confirm what is the right configuration of the solution, both for trndll and mytype</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">David Chèze</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">tel. 0479601437 - INES, CEA/Leth  - Le Bourget du Lac (73), FRANCE - bât. PUMA3 bur. 204</span><o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>TRNSYS-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><o:p></o:p></pre>
<pre><a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>***************************<o:p></o:p></pre>
<pre>David BRADLEY<o:p></o:p></pre>
<pre>Principal<o:p></o:p></pre>
<pre>Thermal Energy Systems Specialists, LLC<o:p></o:p></pre>
<pre>22 North Carroll Street - suite 370<o:p></o:p></pre>
<pre>Madison, WI  53703 USA<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>P:+1.608.274.2577<o:p></o:p></pre>
<pre>F:+1.608.278.1475<o:p></o:p></pre>
<pre><a href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><a href="http://www.tess-inc.com">http://www.tess-inc.com</a><o:p></o:p></pre>
<pre><a href="http://www.trnsys.com">http://www.trnsys.com</a><o:p></o:p></pre>
</div>
</body>
</html>