[TRNSYS-users] Error when creating new component with storage

C K Lee a8304506 at graduate.hku.hk
Tue Feb 18 16:24:02 PST 2014


Hello, David.

The "SetValueThisIteration" subroutine appears at the end of the source 
code template created by TRNSYS.  I have revised that statement and 
successfully created the .dll file.  Maybe it is a bug.  Nevertheless, 
thanks for your help.

Best Regards
C. K. Lee


On 2014-02-19 00:42, David BRADLEY wrote:
> C.K.
>   I believe that the function name should be
> "SetDynamicArrayValueThisIteration" and not "SetValueThisIteration."
> Could you please point out for me where the function
> "setValueThisIteration" is referenced?
> Best,
>  David
> 
> 
> On 2/17/2014 20:23, C K Lee wrote:
>> Hello, everyone.
>> 
>> I want to create a new component in TRNSYS 17 which employs the 
>> storage function.  However, when I try to create the dll file, I 
>> receive the following error message:
>> 
>> Type257.obj : error LNK2001: unresolved external symbol 
>> _SETVALUETHISITERATION
>> C:\Trnsys17\UserLib\DebugDLLs/Type257.dll : fatal error LNK1120: 1 
>> unresolved externals
>> Error executing link.exe.
>> 
>> It seems that the subroutine SetValueThisIteration cannot be 
>> recognized.  Does anyone know how to solve the problem?  Thank you!
>> 
>> Best Regards
>> C. K. Lee
>> City University of Hong Kong
>> 
>> _______________________________________________
>> TRNSYS-users mailing list
>> TRNSYS-users at cae.wisc.edu
>> https://mailman.cae.wisc.edu/listinfo/trnsys-users
>> 
> 
> --
> ***************************
> 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 at tess-inc.com
> 
> http://www.tess-inc.com
> http://www.trnsys.com
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users



More information about the TRNSYS-users mailing list