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

Re: About trnsys with c++



Yes, there are different ways of achieving this (asuming you are running
TRNSYS on WINDOWS).

To keep the interface between TRNSYS and your type 'clean', I recomend
to  create a DLL containing your C++ program. This DLL can then be
called in a TRNSYS project using type 61 (see Utilities/Calling External
Routines).
This component is used for calling a component, written in any
programming language and saved as EXTDLL.dll

I would strongly recommend to create a DLL, so your work in C++ will
survive, can be easily maintained, etc.

(In TRNSYS16 you will be able to just drop any DLL in a special
directory to link it to TRNSYS. )

Werner
Selim Ullah wrote:

> Hi
>
> Is it possible to compile trnsys by link with c++ files?
>
> Selim