File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Languages and the fly likes Call OCX from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Other Languages
Reply 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: 13842

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: 13842

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.
 
 
subject: Call OCX from Java
 
Threads others viewed
calling ocx methods in C
Calling ActiveX OCX from Java
calling com dll from java
using ocx in java (JNI)
spyware attack
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture