<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904">
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page WordSection1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
LI.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
DIV.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
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 lang=FR link=blue bgColor=white vLink=purple>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial>Werner,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial>Finaly I found the problem. It was coming from a mistake in 
the code that I copied from an existing component to the new one (Type reference 
in the DEC$ATTRIBUTES DLLEXPORT not correct).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial>However the begining of the story is that I attempt to create 
a Type160 which was already existing (electrolizer).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial>Now all is correct but I would like to know what are the type 
numbers reserved for the user. I am sure the information exist in the doc but I 
cannot find it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial>Thank you !!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=741220509-21062010><FONT color=#0000ff 
size=2 face=Arial>Benoît</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=fr class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De :</B> keilholz, werner 
[mailto:werner.keilholz@cstb.fr] <BR><B>Envoyé :</B> lundi 21 juin 2010 
09:30<BR><B>À :</B> Benoit COGNE; 
trnsys-users@cae.wisc.edu<BR><B>Objet :</B> Re: [TRNSYS-users] Problem with 
a new component<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US>Benoît, <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US>Are you sure your DLL is in “C:\Program 
Files\Trnsys16\UserLib\ReleaseDLLs » ?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US>When using the procedure "export as fortran" in the studio 
environment, it uses the default path, <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US>\Trnsys16\UserLib\ReleaseDLLs <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US>Werner<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" 
lang=EN-US><o:p> </o:p></SPAN></P>
<DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">De :</SPAN></B><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> Benoit COGNE 
[mailto:b.cogne.perso@orange.fr] <BR><B>Envoyé :</B> samedi 19 juin 2010 
17:46<BR><B>À :</B> trnsys-users@cae.wisc.edu<BR><B>Objet :</B> 
[TRNSYS-users] Problem with a new component<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Dear 
all,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I have a problem with 
a new component.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I get following error 
message in the list file.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I can not identify 
where the problem is coming from, as I created some new components in the past 
without facing this.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The dll has been 
created, following the procedure "export as fortran" in the studio 
environment.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">My compiler is 
CVF6.6B</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Looking for your 
help,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">best 
regards</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Benoît</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">*** Notice at 
time        
:         0.000000<BR>    
Generated by Unit     : Not applicable or not 
available<BR>    Generated by Type     : Not 
applicable or not available<BR>    TRNSYS 
Message    199 : TRNSYS found at least one user DLL in the 
UserLib directory. (Note: Only DLL's including Types that are used in the 
simulation are loaded)<BR>    Reported information  : 0 user 
DLLs were loaded after searching in "C:\Program 
Files\Trnsys16\UserLib\ReleaseDLLs"<BR> <BR> <BR>*** Fatal Error at 
time   :      
4344.000000<BR>    Generated by Unit     
:     4<BR>    Generated by 
Type     :   162<BR>    TRNSYS 
Message    105 : A TYPE was called in the TRNSYS input file but 
was either not linked into trndll.dll or was not found in an external dll. A 
dummy subroutine was called in its place. Please link the TYPE or remove it from 
the input file<BR>    Reported information  : Not 
available</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV></DIV><pre>


GDF SUEZ Mail Disclaimer: http://www.gdfsuez.com/disclaimer/disclaimer-fr.html


</pre></BODY></HTML>