(E-Mail Removed) wrote:
> I have an application in Java that I would like to port
> to c++ to integrate with existing c++ app. Is anyone
> aware of any tools to help?
Do you mean managed C++? You can not port Java to native C++
because most Java features require a VM to be supported.
Even if you mean mC++, there is no way to automatically port
Java to C++ AFAIK because it is far from easy to express the
higher level constructs of the Java language and API in C++.
What kind of integration do you need? Maybe you can use JNI
with standard Java or the .NET InterOp services if you port
Java to J# (which is a breeze as long as your Java code
conforms to Java 1.1).
> I found microsft has a java->c# convert, but the java app
> has class that do multiple subclassing and this doesn't
> seem to work in C#.
C# is a superset of the Java language (but for some of the
features introduced in Java5), so you can always port Java
source code to C# (this is not always true for Java API
calls).
> Is there any to port C# to c++?
Not that I'm aware of. Even if everything that can be
expressed in C# can also be expressed in C++, some higher
level constructs can not be preserved, just like with Java.
--
// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net