J
jakester
I wanted to write a C++ API that can be used in both .NET and Java. Is
this possible? Where would I start? My .NET and Java programming
skills are good and my C++ is okay (lost in memory). I know that Java
can make calls to native code using JNI. .NET also provides utils and
wrappers for native code to be used (at least if you use ATL).
However, what factors do I need to consider (i.e. GCC vs Microsoft C+
+) when writing my C++ code so that .NET and Java can use the code? My
ultimate goal is to have .NET and Java use the C++ API, and allow the
use of the C++ API on Linux and Microsoft platform.
I do not want to go through webservices to interoperate .NET and Java
for a variety of reasons.
this possible? Where would I start? My .NET and Java programming
skills are good and my C++ is okay (lost in memory). I know that Java
can make calls to native code using JNI. .NET also provides utils and
wrappers for native code to be used (at least if you use ATL).
However, what factors do I need to consider (i.e. GCC vs Microsoft C+
+) when writing my C++ code so that .NET and Java can use the code? My
ultimate goal is to have .NET and Java use the C++ API, and allow the
use of the C++ API on Linux and Microsoft platform.
I do not want to go through webservices to interoperate .NET and Java
for a variety of reasons.