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

Re: [TRNSYS-users] Accessing subroutines embedded in other private Types



Thanks a lot for your answer David

I would need some precisions though to be sure to understand you precisely.
They indeed already have issued a dll containing all their Types (but not the Trnsys kernel). 
My problem is to link my own dll (containing my own Types) with theirs.
Do you suggest that they should build a dll containing their Types + Trnsys kernel i.e. rebuild the TNRDll to integrate their Types?
How intricate is the alternative way consisting in linking their existing dll containing only their Types (different from TRNDll)?

Best
--
Antoine Gautier
Solam
en
+33 6 58 24 02 60

Le 19 déc. 2012 à 18:40, David BRADLEY a écrit :

Antoine,
  The simplest approach may be for your colleagues at the other company to create a DLL containing their Types. Since their Types would be exported in the same way as any other TRNSYS Type, their DLL and the Types contained in it would be loaded by the TRNSYS kernel. Your Types could then access theirs.
Best,
 David


On 12/19/2012 10:50, Antoine Gautier wrote:

Dear users

 

I work hand in hand with another company and share a lot of private Trnsys Types with them (including source codes).

I would like to easily access their subroutines from my own Types without having to include all their Types in my IVF project. In other words I want to reproduce the same capability that I have with generic Trnsys functions through the TRNDll.lib library.

What I have already tried in vain.

·          Include their library *.lib (automatically generated in the Release directory) in the Libraries folder of my IVF project

·          Specify the path to their Release directory in my IVF project configuration (Fortran/General/Additional Include Directories)

Nota: I use IvfCXE2013.

 

Does anybody have a clue on how to do it?

 

Thanks a lot and merry Christmas

--

Antoine Gautier
Solam
en SAS
+33 6 58 24 02 60

antoine.gautier@solamen.fr

 



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

-- 
***************************
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@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com