<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ali,<br>
      There is no need to create an .exe. Your compiler project should
    be set up to create a .dll containing only your Type. TRNExe.exe
    calls the TRNDll.dll and the TRNDll.dll will call your *.dll. If you
    are using a different Fortran compiler than the Intel compiler then
    instead of getting access to the TRNSYS kernel functions through a
    USE statement (as is done in the Fortran template) you have to
    import them from the TRNDLL using a DLLIMPORT command. The method
    for using DLLIMPORT will depend upon your compiler.<br>
    kind regards,<br>
     David<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 4/9/2015 12:01 PM, Ali El-Nashar
      wrote:<br>
    </div>
    <blockquote cite="mid:COL131-DS21A1346FB60DE3A191FF90C1FB0@phx.gbl"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
          #000000">
          <div>Dear All</div>
          <div> </div>
          <div>I am trying to create a new component using the
            Silverfrost Plato Fortran compiler following the procedure
            in vol. 01 and 07 of the Trnsys documentation. I was not
            able to create either the .EXE or .DLL files for my
            component. Instead, I get the following error message:</div>
          <div> </div>
          <div>Error 404 – Cannot find definition for MODULE
            TRNSYSCONTANTS</div>
          <div> </div>
          <div>I’ll be grateful for any body who can provide me with
            some guidance.</div>
          <div> </div>
          <div>Ali El-Nashar</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</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>
  </body>
</html>