Hi all,<br><br>I hope I'm not abusing this mailing list with this email. I posted the problem<br>earlier today on erlang-questions:<br><a href="http://www.erlang.org/pipermail/erlang-questions/2009-May/043577.html">http://www.erlang.org/pipermail/erlang-questions/2009-May/043577.html</a><br>
but I'm guessing there aren't many erl_interface [on windows] users.<br>Since this might be a bug here goes...<br><br>Under certain inputs my basic port programs are simply breaking:<br><pre>4> echo:echo("aaa aaaaaa").<br>
sending to port: {echo,{"aaa aaaaaa"}}<br><br>=ERROR REPORT==== 4-May-2009::16:11:15 ===<br>catch: error:badarg<br></pre>This might be simply due to bad coding on my part but I've tried to keep it<br>simple to rule that out. I was able to replicate the problem with erl_interface-3.6.1<br>
(.lib that come with the binary windows distribution; a MSVC build; and a MinGW build)<br>and erl_interface-3.5.9 (MinGW build only).<br><br>The [failing] code is available here:<br>
<a href="http://github.com/davide/erl_interface-examples/tree/master">http://github.com/davide/erl_interface-examples/tree/master</a><br>A sure way to get the echo program to fail is: echo:echo("New Folder").<br>
<br>I'm welcoming any feedback! Even if it's just to point out that I'm doing something<br>
really dumb (I can live with that). :)<br><br>On a side note, on the docs folder I documented my experience of trying<br>
(and failing) to build erlang on Windows (using Visual C++ 2008 Express Edition).<br>As the details might be revelant to other users please consider updating<br>
README.WIN32 to get it into a <a href="http://github.com/davide/erl_interface-examples/blob/1443a11bd6aa5aa4b6030c9fec1d6c4ff360dd57/doc/Building%20erlang%20on%20Windows.txt">step-by-step/How-To style</a>.<br><br>Cheers,<br>
:Davide