Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6033027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:25:24+00:00 2026-05-23T05:25:24+00:00

There is a third part dll with definitions of a class in C++ which

  • 0

There is a third part dll with definitions of a class in C++ which I’ve to use in Java. I’ve the complete knowledge of the public methods in the dll. Now to use these I’m kind of using a wrapper C++ program, which creates the object and calls the functions in the dll when required. And I interface this C++ code with the Java using JNI. Is there any other efficient way of doing this. That is to create objects of a class and use its functions directly using JNI or any other library in Java

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:25:25+00:00Added an answer on May 23, 2026 at 5:25 am

    In order to call native(C/C++) code from Java, You will have to do Marshalling of the objects between native world and Java, JNI justs does that and your approach just looks right to me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Asp.net application which require a third-part .dll from other department(In fact,it
We are using a third part library to render 3d. In this library there
Is there a way to tell preg_match_all to use the third match it finds
I am looking into writing a DLL in C# which as part of its
when I try to use a third part module in my perl script, I
I know on the core Android API there's some embedded third-part APIs such as
I have an API DLL that several third party applications reference. Some of these
I'm extending a class provided by a third part library. The class, let's call
Are there any third-party Templating Engines for Asp.net like we have smarty,savant for php
Is there a third party tool or something similar that will allow users to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.