<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 12 (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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Tahoma;
        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:10.0pt;
        font-family:"Arial","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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.Style1, li.Style1, div.Style1
        {mso-style-name:Style1;
        mso-style-link:"Style1 Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Arial","sans-serif";}
span.Style1Car
        {mso-style-name:"Style1 Car";
        mso-style-link:Style1;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:black;}
.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="3074" />
</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 lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:black'>Following my previous post…<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Somehow the error has evolved to the following one (though I don’t know if it’s better or not).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Note that I get the same error whether I include the called subroutine in the main file or put it as a different file in the same project.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Being brand new to that kind of manipulation I would really appreciate some advice.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Thanks a lot for your help<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'><img width=480 height=510 id="Image_x0020_2" src="cid:image002.png@01CC41B4.913637B0"></span><span lang=EN-US style='color:black'><o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#404040'>--<o:p></o:p></span></p><p class=MsoNormal><span style='color:#404040'>Antoine Gautier<br>Solam</span><span style='color:#70B221'>en</span><span style='color:black'><br></span><span style='color:#404040'>+33 6 98 78 56 46<o:p></o:p></span></p><p class=MsoNormal><span style='color:#404040'>antoine.gautier@solamen.fr</span><span style='color:black'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:black'><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 style='font-family:"Tahoma","sans-serif"'>De :</span></b><span style='font-family:"Tahoma","sans-serif"'> Antoine Gautier [mailto:antoine.gautier@solamen.fr] <br><b>Envoyé :</b> mercredi 13 juillet 2011 22:10<br><b>À :</b> 'trnsys-users@cae.wisc.edu'<br><b>Objet :</b> calling a private type from another private type<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Dear all<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>In order to be able to call one of my personal Types from a new Type I am building, I put the called one in the same Fortran project before building the dll of the new Type.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Compilation performs without any error or warning but I get the following error when I launch Trnsys with my new Type.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><img width=482 height=169 id="Image_x0020_1" src="cid:image003.png@01CC41B4.913637B0"><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Does anyone have a clue to make this work?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Or at least to make this message more specific to me?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks a lot.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:p></span></p><p class=MsoNormal><span style='color:#404040'>--<o:p></o:p></span></p><p class=MsoNormal><span style='color:#404040'>Antoine Gautier<br>Solam</span><span style='color:#70B221'>en</span><span style='color:black'><br></span><span style='color:#404040'>+33 6 98 78 56 46<o:p></o:p></span></p><p class=MsoNormal><span style='color:#404040'>antoine.gautier@solamen.fr</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>