Wenye, The *.dsp file can be ignored. The method that I would recommend is to open the IVF solution (compile project) found in ..\Trnsys17\Compilers\IvfCXE2011\IvfCXE2011.sln. One of the three projects in the solution is called MyType. Right click on the MyType project in the solution explorer on the right. Select "Add: Existing Item" from the context menu and add the *.for file that was exported from the Studio. When you build or rebuild the project a file called MyType.dll will be created and will contain your component. Make sure that you are compiling in the appropriate mode (debug or release) to match the TRNDll (probably release). You can check which mode TRNDll is in by running a simulation and looking at the early notices written in the *.log file. Kind regards, David On 11/5/2014 18:30, Wenye Lin 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 |