• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

calling ocx methods in C

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic