[TRNSYS-users] Error linking new component
Amaia Zuazua via TRNSYS-users
trnsys-users at lists.onebuilding.org
Sun Jan 15 12:43:12 PST 2017
Yes, I did everything you say.
2017-01-15 21:12 GMT+02:00 Jeff Thornton <thornton at 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-1475www.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 listTRNSYS-users at lists.onebuilding.orghttp://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/74268e40/attachment.htm>
More information about the TRNSYS-users
mailing list