Hi All, I have a third party ocx that I'll be using in my java application. For that, I need to write a wrapper dll that I can load into my application through JNI. This dll will be interacting with the ocx and will help me call the methods in ocx and mapping the data types in Java to the ones in C. My question is how can I generate a header file from the ocx file so that I can include that in the wrapper dll and call the methods defined in the ocx. This way I'll be implicitly loading the ocx into the wraper dll. Or is there any other way to load the ocx into my wrapper dll? Thanks, Isha
Although you want to use JNI in your product, it sound to me like the problems you are having are associated with the OCX, which if I recall correctly is a Microsoft thing.
If your question is really about Microsoft programming, you probably won't get a useful answer here. You could try JavaRanch "General Computing" section of JavaRanch or, more likely, a Microsoft-specific forum.
If your problem really is to do with JNI, please explain how, in more detail. I've done a fair amount of JNI programming, but I can't begin to answer the question, as you've so far posed it.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.