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

Re: external DLL component



Hi Eduardo, 

Your DLL must be called EXTDLL.DLLand put in the userlib 
directory. 

It must also contain a function called EXTDLL, respecting the 
conventions given in the example (see \trnsys15\workspace\ExtDll\ExtDll.dsw 
for a DevStudio sample workspace or directly \trnsys15\Userlib\extdll.for 
for the calling conventions if you use another development environment). 

In IISiBat, you simply use the type 61 PROFORMA and configure it with 
the number of inputs, outputs, parameters and derivatives ou are using 
under the respective tabs. 

Hope this helps, 

Werner 

Eduardo Castro wrote: 

Hi. I'm trying to developp a component to TRNSYS15 (in fact, a Delphi compiled dll) and the manual ("Calling an External dll")gives the impression that it's just a matter of compilling it and putting it in the "userlib" directory. If it is that simple, how can I access this new dll (component) ? And how can I use it within IISiBat? Can anyone clarify these subjects for me? Thanks        Eduardo Breviglieri Pereira de Castro +--------------------------------------------------------------- 
+     edubrevi@terra.com.br 
+     eduardo@insa-cethil-etb.insa-lyon.fr 
+--------------------------------------------------------------- 
+     INSA LYON - CETHIL / ETB 
+     20 Av. Albert Einstein Bāt 307 
+     69621 Villeurbanne  FRANCE 
+---------------------------------------------------------------

-- 
  /    \____ Werner Keilholz, Software Development Group Leader 
  \____/     CSTB Sophia Antipolis, SAIL 
  /    \____ s-mail: BP 209, 06904 SOPHIA ANTIPOLIS,  F R A N C E 
  \____/     phone: +33 (0)4 93 95 67 00 -- fax: +33 (0)4 93 95 67 33 
  /    \____ Mailto:werner@cstb.fr 
  \____/     http://evl.cstb.fr/english/team/WK/werner.htm 

For technical questions about our software, please mailto:software@cstb.fr