Use C++ Or Java Libaries In Xojo

I specifically want to use the Box2D physics engine in Xojo. It would be helpful if I could use even the Java Box2D port. I believe MBS has some kind of Java plugin. I have seen a forum thread where somebody suggested to write there own physics engine or read the code from another language and try to copy it over. I wonder if Joe Astrahan has made much progress? I have also seen a project that I believe has been given up on.

Is there no easy way I could use Box2D in Xojo, even if that means using plugins, like the MBS Java plugins or that plugin from einhugur software.

Thanks

You can use Java via the shell.

Would this mean I could easily intergrate jbox2d http://www.jbox2d.org/ with Xojo? Thanks

This you need to work out for yourself.

Some years ago I had written a simple wrapper in Java for iText. Then I called this with

dim theCommand as String = "java -jar " + printReportFolderitem.ShellPath theCommand = theCommand + " """ + theFrom + """ """ + theTo + """ """ + theMailbox + """ """ + theDate + """ """ + theSubject + """ """ + theBody + """ """ + thePath.UnixpathMBS + """" dim theShell as new Shell theShell.Mode = 0 theShell.Execute theCommand dim theResult as String = theShell.Result

in Realbasic.

HTH

[quote=55749:@Beatrix Willius]This you need to work out for yourself.

Some years ago I had written a simple wrapper in Java for iText. Then I called this with

dim theCommand as String = "java -jar " + printReportFolderitem.ShellPath theCommand = theCommand + " """ + theFrom + """ """ + theTo + """ """ + theMailbox + """ """ + theDate + """ """ + theSubject + """ """ + theBody + """ """ + thePath.UnixpathMBS + """" dim theShell as new Shell theShell.Mode = 0 theShell.Execute theCommand dim theResult as String = theShell.Result

in Realbasic.

HTH[/quote]
Thanks