• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

using Java objects in a C++ application

Hi,
Do u know how to use a java object in a C++ application?
Please be as precise as possible, I'm a beginner.
Thanks
Stéphane
0
stef3
Asked:
stef3
1 Solution
 
Tommy HuiCommented:
I assume you're using Microsoft J++ and Visual C++. If so, then you can use J++ to create a COM object. Then use #import in Visual C++ to create a C++ wrapper for the COM object.

Take a look at the book Inside Distributed COM from the Eddon guys. There is a sample that does what you want.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now