<br><font size=2 face="sans-serif">Hi Steinar,</font>
<br><font size=2 face="sans-serif"> to cut a long story short:</font>
<br>
<br><font size=2 face="sans-serif">I managed to compile and create a mex-Dll using MSVC .NET and your files. It is also possible to call this dll from Matlab but for some reasons it crashes in the Ipopt-dll. </font>
<br><font size=2 face="sans-serif">I debugged to find the error and it seams that the crash occurs when the first "write" commando is excecuted. I tested by manually comment away the write commando whcih caused the latest crash but then it only crashed on the next one, etc.</font>
<br>
<br><font size=2 face="sans-serif">Is there any one who knows why the seemingly inocent write- comando in Fortran does not work with mex-files??</font>
<br>
<br><font size=2 face="sans-serif">Also, I mean that the code is full with "write":s so there is not point in commenting away all af them.... ??</font>
<br>
<br><font size=2 face="sans-serif">//Jens</font>
<br>