wood burning stoves*
The moose likes Other Languages and the fly likes Call OCX from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Call OCX from Java" Watch "Call OCX from Java" New topic
Author

Call OCX from Java

Ktrup Pol
Greenhorn

Joined: Oct 23, 2009
Posts: 4
HI,
I have a third party ocx which i would like to use in our java application

can i use JNI here?
If yes then can anyone give me some helloworld sample or set of steps to follow.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18716
    
    8

I expect you could use JNI for that, yes.

But what's this basic information you're asking about? If you want a JNI tutorial then your google keywords are jni tutorial. If on the other hand you want information about how to access the OCX from your C++ code, or whatever language you chose for your JNI code, that's more of a question about the OCX, isn't it?
Ktrup Pol
Greenhorn

Joined: Oct 23, 2009
Posts: 4
Ok, then can you please help me about how to access OCX from c++
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18716
    
    8

Ktrup Pol wrote:Ok, then can you please help me about how to access OCX from c++


That isn't a question about any Java API at all, so let's move it to a more suitable forum.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Call OCX from Java