[TRNSYS-users] TRNSYS error: Type called in input file, but not linked or found in external dll

knut.erik.enerstvedt at niva.no knut.erik.enerstvedt at niva.no
Thu Dec 10 00:15:32 PST 2009


Dear Jeff and Matt,

Thank you both for helping me with this problem.

I had missed the DLLExport line because my compiler printed it in green 
like all the comments. Now everything is working fine.

Best regards,
Knut Erik



From:
"Jeff Thornton" <thornton at tess-inc.com>
To:
knut.erik.enerstvedt at niva.no, trnsys-users at engr.wisc.edu
Date:
09.12.2009 18:43
Subject:
Re: [TRNSYS-users] TRNSYS error: Type called in input file,     but not 
linked or found in external dll



<The List file also says that "Type240.dll
(my new Type) was found but did not contain any components from the input
file". I can not understand how both these messages can appear at
the same time.>

Make sure the subroutine line of your new code (usually the first line)
has your new type number listed:

Subroutine Type240(

and that the DLLExport line also has the 240 designation:

!DEC$ATTRIBUTES DLLEXPORT :: TYPE240

That's usually the source of the error.

Jeff


Jeff Thornton
President - TESS, LLC

22 North Carroll Street - Suite 370
Madison WI 53703 USA

Phone: 608-274-2577
Fax: 608-278-1475
E-mail: thornton at tess-inc.com
Web: www.tess-inc.com




------------------------------------------------------------------------------------------------------------
Meld deg på vårt nyhetsbrev på www.niva.no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20091210/5543aff8/attachment-0001.htm>


More information about the TRNSYS-users mailing list