[TRNSYS-users] Error linking new component
Jeff Thornton via TRNSYS-users
trnsys-users at lists.onebuilding.org
Sun Jan 15 11:12:46 PST 2017
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 at tess-inc.com
On 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 at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org [1]
Links:
------
[1]
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20170115/0dc00668/attachment.htm>
More information about the TRNSYS-users
mailing list