[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] User-defined type in TRNSYS17 not found in dll



Henk,
 There is likely a setting in the MyType and the TRNDll projects that are not compatible with each other. Look in particular at whether the two DLLs are set to have static or dynamic run time libraries and also make sure that both are exporting names in the same way (uppercase vs. lowercase).
Kind regards,
 David



On 7/22/2014 10:29, Henk Stijnen wrote:

Hi all,

 

I’ve made some user-defined types in trnsys 16.1. The compiled C++ code is stored in MyType.dll. All OK.

 

Now I’m trying to use the types in trnsys 17 and I get error that the type is not found. The system found the dll but not the type.

In the log file I see the message: “MyType.dll was found but did not contain any components form the input file”

 

Very strange is that when I use TrnSys17Demo all works OK!!

 

What can be at hand?

 

Thanks for help and suggestions

 

Regards, Henk

Op dit e-mailbericht is een disclaimer van toepassing. Zie: www.dwa.nl/Disclaimer.




_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
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@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com