Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958403

Amits2
stranger


Reged: 08/16/05
Posts: 2
how to call a C+ method when param has C++ object?
      08/16/05 11:03 AM

I am new to JNI and working on a JNI module, where I need to call a C++ method and I have to make a JNI call to call that method.

As a new to JNI and dont have good knowledge of this. The C++ method signature is something like

-- sharedResource(CheckResource chk)
this sharedResource method is implemented in C and it internally uses the CheckResource object to check the resources. CheckResource is a c++ obejct

Any idea as how can I create the CheckResource object and pass it to this method. Do I need to create the CheckResource object calling constructor of CheckResource?

Please help,

thank in advance

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* how to call a C+ method when param has C++ object? Amits2 08/16/05 11:03 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 5699

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5