[TRNSYS-users] SET_STORAGE_VARS(STORED,NITEMS,INFO)

keilholz, werner werner.keilholz at cstb.fr
Fri Oct 28 08:50:05 PDT 2005


Hi Jörg, 
 
For all I know, the C++ interface is still evolving, and you may have to
define some kernel functions yourself in order to use them.
 
In the latest version, I would add 
extern "C" __declspec(dllimport) int        _cdecl SETSTORAGEVARS(void);
to Trnsys.h 
(in .\Compilers\Cpp-Mvs2003\Include)
 
and then call it as        SETSTORAGEVARS(...);
 
(The '...' is your homework ... ;-) ). 
 
I use right-mouse / Properties on trndll.dll to figure out the exported
name, and checked under 'Exported tab' - the best procedure until more
people use TRNSYS with C++ and the API gets more standardized...
 
Hope this helps, 
 
Werner
  _____  

De : trnsys-users-bounces at engr.wisc.edu
[mailto:trnsys-users-bounces at engr.wisc.edu] De la part de Jörn von Grabe
Envoyé : vendredi 28 octobre 2005 16:31
À : TRNSYS Newsgroup
Objet : [TRNSYS-users] SET_STORAGE_VARS(STORED,NITEMS,INFO)
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20051028/8ed1aac4/attachment-0005.htm>


More information about the TRNSYS-users mailing list