Yes, I did everything you say.2017-01-15 21:12 GMT+02:00 Jeff Thornton <thornton@tess-inc.com>:A few things to check:
Did you replace the XXX with the actual number for your new type?
Does the Subroutine declaration at the top of your subroutine have the same number as the DLLexport command?
Did you build your new DLL in release mode?
Jeff
---
Jeff Thornton President - TESS LLC 22 N. Carroll Street, Madison WI USA 53703 Office: (608) 274-2577 Fax: (608) 278-1475 www.tess-inc.com E-Mail: thornton@tess-inc.comOn 01/15/2017 11:56 am, Amaia Zuazua via TRNSYS-users wrote:
Hi all,
I did a new component but when I try to use it I get the following error:
“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”.
The .dll of the new type is in the ReleaseDLL folder, and I wrote !DEC$Attributes DLLexport :: TypeXXX in the code file (I saw those two issues where the most common mistakes regarding this error).
Any other help?
Thanks!
_______________________________________________ TRNSYS-users mailing list TRNSYS-users@lists.onebuilding .org http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebu ilding.org