Ali, 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. kind regards, David On 4/9/2015 12:01 PM, Ali El-Nashar
wrote:
-- *************************** 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 d.bradley@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |