Maybe the method
described here helps:
http://www.mail-archive.com/trnsys-users@engr.wisc.edu/msg01535.html
Werner
De : rgaray@labein.es
[mailto:rgaray@labein.es]
Envoyé : vendredi 17 juillet 2009
15:43
À : trnsys-users@cae.wisc.edu
Objet : [TRNSYS-users] New
model in cpp. Linking problem
Dear TRNSYS users,
I
have a problem in building an external dll for trnsys. This new dll has been
written in cpp
I
have followed the following sequence:
1.-
Generate a proforma
2.-
Export the C++ template
3.-
Write the code.
4.-Compile
the new dll.
5.-The
dll was located in .\userlib\debug\ (And later also in .\userlib\release\)
6.-Run
a sample proyect with the new type.
I
get the following error:
***
Fatal Error at time : 0.000000
Generated by Unit : 6
Generated by Type : 801
TRNSYS Message 105 : A TYPE was called in the TRNSYS input
file but was either not linked into trndll.dll or was not found in an external
dll. A dummy subroutine was called in its place. Please link the TYPE or remove
it from the input file
Reported information : Not available
Does
anyone know the possible reason for this and it´s solution?
Thenks
in advance.
Kind
regards.
Roberto
Garay Martinez
Labein-Tecnalia
Unidad de Construcción y Desarrollo del Territorio
c/Geldo. Parque Tecnológico de Bizkaia
Edificio 700
48160 Derio (Bizkaia)
Tel.: 34 94 607 33 00
Fax: 34 94 607 33 49
www.labein.es
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Imprime sólo lo imprescindible, recuerda tu compromiso con el MEDIO AMBIENTE //
Behar beharrezkoa baino ez imprimatu, gogoratu zure INGURUGIROArekiko
konpromezua // Before printing think about the ENVIRONMENT
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si no es vd. el destinatario indicado,
queda notificado de que la utilización, divulgación y/o copia sin autorización
está prohibida en virtud de la legislación vigente.
Si ha recibido este mensaje por error, le rogamos que nos lo comunique
inmediatamente por esta misma vía y proceda a su destrucción.
Mezu honek eta erantsita dituen agiriek (baldin baditu) isilpeko informazioa
izan dezakete. Hori dela eta, hutsegite baten ondorioz jasotzen duenak
jakin beza bertan dagoen informazioa ezkutukoa dela eta legeak galarazi egiten
duela berori baimenik gabe erabiltzea.
This message is intended exclusively for its addressee and may contain
information that is confidential and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any
dissemination, copy or disclosure of this communication is strictly prohibited
by law.
If this message has been received in error, please immediately notify us via
e-mail and delete it.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------