<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks a lot for your answer David<div><br></div><div>I would need some precisions though to be sure to understand you precisely.</div><div>They indeed already have issued a dll containing all their Types (but not the Trnsys kernel). </div><div>My problem is to link my own dll (containing my own Types) with theirs.</div><div>Do you suggest that they should build a dll containing their Types + Trnsys kernel i.e. rebuild the TNRDll to integrate their Types?</div><div>How intricate is the alternative way consisting in linking their existing dll containing only their Types (different from TRNDll)?</div><div><br></div><div>Best<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" style="font-size: 10px; "><font class="Apple-style-span" color="#797979">--<br>Antoine Gautier<br>Solam</font><font class="Apple-style-span" color="#28D32A">en</font><font class="Apple-style-span" color="#797979"><br>+33 6 58 24 02 60</font></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span"><font class="Apple-style-span" color="#797979"><span class="Apple-style-span" style="font-size: 10px; "><a href="mailto:antoine.gautier@solamen.fr">antoine.gautier@solamen.fr</a></span><br></font></font></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br><div><div>Le 19 déc. 2012 à 18:40, David BRADLEY a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
Antoine,<br>
The simplest approach may be for your colleagues at the other
company to create a DLL containing their Types. Since their Types
would be exported in the same way as any other TRNSYS Type, their
DLL and the Types contained in it would be loaded by the TRNSYS
kernel. Your Types could then access theirs.<br>
Best,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/19/2012 10:50, Antoine Gautier
wrote:<br>
</div>
<blockquote cite="mid:009001cdde08$f2cdf160$d869d420$@gautier@solamen.fr" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 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:11.0pt;
font-family:"Calibri","sans-serif";}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Verdana","sans-serif";
color:windowtext;
font-weight:normal;
font-style:normal;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1105730302;
mso-list-type:hybrid;
mso-list-template-ids:1330273900 67895297 67895299 67895301 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">Dear users<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">I work hand in hand with another company and
share a lot of private Trnsys Types with them (including
source codes).<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">I would like to easily access their subroutines
from my own Types without having to include all their Types
in my IVF project. In other words I want to reproduce the
same capability that I have with generic Trnsys functions
through the TRNDll.lib library.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">What I have already tried in vain.<o:p></o:p></span></p><p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="font-size:8.0pt;font-family:Symbol" lang="EN-US"><span style="mso-list:Ignore">·<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]--><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">Include their library *.lib (automatically
generated in the Release directory) in the Libraries folder
of my IVF project<o:p></o:p></span></p><p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="font-size:8.0pt;font-family:Symbol" lang="EN-US"><span style="mso-list:Ignore">·<span style="font:7.0pt
"Times New Roman""> </span></span></span><!--[endif]--><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">Specify the path to their Release directory in
my IVF project configuration (Fortran/General/Additional
Include Directories)<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">Nota: I use IvfCXE2013.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">Does anybody have a clue on how to do it?<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif"" lang="EN-US">Thanks a lot and merry Christmas<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#404040" lang="EN-US">--<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#404040" lang="EN-US">Antoine Gautier<br>
Solam</span><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#70B221" lang="EN-US">en</span><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#404040" lang="EN-US"> SAS</span><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US"><br>
</span><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#404040" lang="EN-US">+33 6 58 24 02 60<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#404040"><a moz-do-not-send="true" href="mailto:antoine.gautier@solamen.fr"><span style="color:blue" lang="EN-US">antoine.gautie</span><span style="color:blue">r@solamen.fr</span></a></span><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black"><o:p></o:p></span></p><p class="MsoNormal"><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>
</div>
</blockquote></div><br></div></body></html>