2008/5/2 Tim Ansell <<a href="mailto:mithro@mithis.com">mithro@mithis.com</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Marcel,<br>
<br>
I think you will have a huge amount of trouble converting the java<br>
library to C#.<br>
</blockquote><div><br>Yeah, that is right. I asked a NeoDatis ODB guy and he wrote me that the translation was not that easy with JCLA (a tool from MS).<br>They needed to convert much by hand.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I would recommend instead looking into the various ways to auto-generate<br>
code from the protocol XML descriptions - all the protocol libraries are<br>
moving in this direction. The java library already auto-generates a<br>
large percentage of code, the C++ protocol library is also moving in<br>
this direction (see "Automatic generation of protocol libraries"<br>
thread). The second generation python library does the generation at<br>
runtime. </blockquote><div><br>Okay, I will take a look at it. But currently I have no idea how to do this.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Hope this helps.<br>
</blockquote><div><br>Yeah, me, too.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Tim 'Mithro' Ansell<br>
<div class="Ih2E3d"><br>
On Thu, 2008-05-01 at 23:39 +0200, Marcel Hauf wrote:<br>
> I managed to translate the code. But after some tries to fix the hard<br>
> errors. I get ~124 errors. Most are double but I don´t think I can<br>
> handle this.<br>
> Maybe I´m doing something wrong but I think the translator can´t<br>
> handle some things which are needed :/<br>
><br>
> I will use ikvm to generate a .Net dll file firstly. Maybe I will give<br>
> it a try if a new release is available...<br>
><br>
> ~Marcel<br>
><br>
</div><snip><br>
<br>
<br>
_______________________________________________<br>
tp-devel mailing list<br>
<a href="mailto:tp-devel@thousandparsec.net">tp-devel@thousandparsec.net</a><br>
<a href="http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel" target="_blank">http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel</a><br>
</blockquote></div><br>