[TRNSYS-users] drop in dll
David BRADLEY
d.bradley at tess-inc.com
Wed Jul 16 15:03:09 PDT 2014
Arno,
There are two possible causes. The simpler one to fix is that if your
TRNDll and your MyType are compiled in debug mode and are then moved to
a target computer that does not have the Fortran compiler installed
chances are that MyType.dll will return error 105. Make sure that both
TRNDll and MyType.dll are both compiled in release mode on the target
computer. You can look at the early messages in the *.log and *.lst
files; one of them will tell you whether TRNDll is in release or debug mode.
The second possibility is that there is a mismatch in the compiler
settings between the TRNDll project and the MyType project. Making sure
that the settings are the same between projects is very painful as there
is no easy way of making a comparison. You simply have to go through all
the settings (and there are a lot of them) and make sure that they are
identical.
Kind regards,
David
On 7/14/2014 08:59, Dentel, Arno wrote:
>
> Dear all,
>
> concerning compiling a user written type I am helpless:
>
> ·I built a drop in dll of the type, put it to the release and debug
> folder and everything works fine
>
> ·when we use the drop in dll on another computer (same Trnsys version,
> same OS), Trnsys stops with an error:
>
> o 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...
>
> oThe List file also says that "MyType.dll" was found but did not
> contain any components from the input file.
>
> Has anyone experienced similar problems?
>
> Best regards,
> Arno Dentel
>
> PS: Compiler: Parallel Studio XE 2011 with VS2010, compiler settings
> from MyType-workspace
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at 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 at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20140716/068037b1/attachment.htm>
More information about the TRNSYS-users
mailing list