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

Re: [TRNSYS-users] TRNSYS17 rebuilding and external dll problem



Dear Mika Yoshinaga,

I do not think the compiler places the new TRNDLL.dll in the executable
location for TRNSYS. Thus, you will have to manually find the new DLL (
usually in the "C:\Trnsys17\Compilers\Cvf66\TRNDll\Release" directory),
and place it in the TRNSYS executable directory, ".\Exe". You might also
want to backup the original TRNDLL.dll as well. Otherwise, you can simply
make an external DLL with your newly formatted Type344.

Best regards,

Matt Duffy


----- Original Message -----
From: "Yoshinaga Mika" <yoshi@meijo-u.ac.jp>
Sent: Tue, March 8, 2011 1:14
Subject:[TRNSYS-users] TRNSYS17 rebuilding and external dll problem

Dear all,

I'm facing a difficult problem. A non-standard-type.dll (Type344 from
TRNSSOLAR)
can't be worked on Simulation Studio after rebuilding TRNDll.dll by CVF6.6b.
Before rebuilding, Type344 had run successfully. Then I just have opened
\TRNSYS17\Compilers\Cvf66\Cvf66.dsw by CVF6.6b and Selected
"Build->Rebuild All" and
rebuild have done without any error.
After rebuilding, all projects using standard types and non-standard TESS
Types
could simulate well but a project file including Type344 was ended with the
following error message.

-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  :  Type344 could not be located in either the
trndll.dll or
in an external dll. Please relink theTRNDll.dll including this Type or
make sure
that an external DLL in the \UserLib\DebugDLLs and \UserLib\ReleaseDLLs
folders
contain the Type.

Type344.dll is surely placed in \Trnsys17\UserLib\ReleaseDLLs!! TRNSYS17
has been
upgraded to the latest version just to be safe.

I was wondering if you could give me a few tips to clear it up. Thank you
in advance.

Best regards,
Mika

Mika Yoshinaga
Meijo university, Japan




_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users

----- End of original message -----