Hi, I’ve read some posts talking about the missing storage
functions in the trnsys.h file, I tried to add them manually, writing : extern "C" __declspec(dllimport) void _cdecl TRNSYSFUNCTIONS_mp_SETSTORAGEVARS(double[],int,int[]); extern "C" __declspec(dllimport) void _cdecl TRNSYSFUNCTIONS_mp_SETSTORAGESIZE(int,int[]); extern "C"
__declspec(dllimport) void _cdecl TRNSYSFUNCTIONS_mp_GETSTORAGEVARS(double[],int,int[]); in the “Functions to access TRNSYS global
variables” and : #define
setStorageVars TRNSYSFUNCTIONS_mp_SETSTORAGEVARS #define
setStorageSize TRNSYSFUNCTIONS_mp_SETSTORAGESIZE #define getStorageVars
TRNSYSFUNCTIONS_mp_GETSTORAGEVARS In the “Short aliases for functions included in
module TrnsysFunctions + lowercase variants of kernel routines”
part of the trnsys.h file. But I still get this error
message : 1>type896.obj : error
LNK2019: symbole externe non résolu __imp__TRNSYSFUNCTIONS_mp_SETSTORAGEVARS
référencé dans la fonction _TYPE896 1>C:\Program
Files\Trnsys16\UserLib\DebugDLLs\Type896Lib.dll : fatal error LNK1120: 1
externes non résolus Do you have any idea of how
I could access to those storage functions ? Rémi PERRIER CEA INES Laboratoire
DTS / LETh Bâtiment
PUMA 3, P112 BP 332 -
50, avenue du Lac Léman - 73377 Le Bourget du Lac FRANCE Tel :
+33 (0)4 79 44 46 49 Mobile :
+33 (0)6 76 95 91 86 Email
: remi.perrier@cea.fr |