<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<DIV>Dear trnsys users,</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've developed a natural ventilation program
(COMIS-LIKE) that I would like to translate into a extdll.dll module for TRNSYS.
The software (developed in Delphi) needs more than 300 fixed input data
(description of position and size of windows, etc) which should be entered by
reading an external file. The problem is when I compile the external DLL and
insert it into TRNSYS, a windows kernel error arises during the simulation. I
know it is due to the file reading procedure because when I compile the DLL
without it, the error disapears. I've then tried to ASSIGN logical numbers
to the INPUT FILE in the deck, but this time new
errors happened. How can I fix that? What are the steps to read
some data from a external file from the DLL? (Like .CIF or .SET in
Comis?). </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Eduardo B P de Castro
_______________<BR>Departamento de Engenharia de Produção<BR>Universidade
Federal de Juiz de Fora, MG<BR>BRASIL</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR>---<BR>No virus was found in this
message..<BR>Aucun virus n'a été trouvé dans ce message.<BR>Nenhum virus foi
encontrado nesta mensagem. <BR>Checked by AVG anti-virus system (<A
href="http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: 6.0.699 /
Virus Database: 456 - Release Date:
4/6/2004</FONT></DIV></FONT></DIV></BODY></HTML>