Dear Group,<br>
My aim is to tweak the existing Type25 printer, so that I can dictate 
which connected inputs get printed AND to swich off the printer.<br>
<br>
But for now I am concerned with recompiling and running the Type25 source code as a new type, Type202 as an external dll.<br>
<br>
Having found the guidance on using the g95 compiler, I must say it 
helped a lot. Additionally, it seems the following fixes where needed 
for the source code:<br>
<br>
JFIX must be substituted (this is an intel function which converts all sorts to Integer*4. I used INT().<br>
<br>
DMOD is a version of mod that should actually work, but did not. An 
extra function DMOD was set up in the TRNSYSFunctions module. This 
funtion returns the remainder of a division operation.<br>Alternatively you can substitute it for MOD which calls DMOD intrisically in g95<br>
<br>
Tabs in the source code are missleading as they are not the 5 leading spaces required before the line continuation character.<br>
<br>
Variable format statements such as<br>
1001 FORMAT(A<maxUnitLength>,A1)<br>
are not supported. I hard coded these, but other solutions are workable.<br>
<br>
Questions:<br>
"Troubleshooting Multiple DLLs" chapter in the programmer guide...<br>
what does "the Fortran run-time libraries" mean and where do I find the still lacking libraries and dlls to link in.<br>
The EXE folder contains the release trndll.dll which I have linked as well as loads of other stuff not documented.<br><br>I ask because it seems that the problem is that another application (trnsys itself) is using the designated file folder and blocks writing from the type dll.<br>

<br>
Thanking you in advance,<br>
<br>
Jean<br>
<br>
PS yes I know I shouldn't use g95.<br>
<br>
Sent from my iPhone