Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Using COM component in Java application

Using COM component in Java application

Scheduled Pinned Locked Moved COM
javacomtutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Will8888888
    wrote on last edited by
    #1

    Could somebody tell me that in a Java application,how to call methods in a COM component?

    William

    M A 2 Replies Last reply
    0
    • W Will8888888

      Could somebody tell me that in a Java application,how to call methods in a COM component?

      William

      M Offline
      M Offline
      Milton Karimbekallil
      wrote on last edited by
      #2

      Java provides JNI - java native interface. this is the only way to communicate between Java - Win32 paltfoprms. But JNI needs win32 components as pure win32 dlls and it doesnt understand COM components. So write a win32 dll wrpper over the com component and use it. cheers..Milton KB

      W 1 Reply Last reply
      0
      • W Will8888888

        Could somebody tell me that in a Java application,how to call methods in a COM component?

        William

        A Offline
        A Offline
        Andre xxxxxxx
        wrote on last edited by
        #3

        http://sourceforge.net/projects/jcom/[^]

        W 1 Reply Last reply
        0
        • M Milton Karimbekallil

          Java provides JNI - java native interface. this is the only way to communicate between Java - Win32 paltfoprms. But JNI needs win32 components as pure win32 dlls and it doesnt understand COM components. So write a win32 dll wrpper over the com component and use it. cheers..Milton KB

          W Offline
          W Offline
          Will8888888
          wrote on last edited by
          #4

          Thank you so much for your help. But I really need a simple way to call a method in a COM object from a Java application.

          William

          1 Reply Last reply
          0
          • A Andre xxxxxxx

            http://sourceforge.net/projects/jcom/[^]

            W Offline
            W Offline
            Will8888888
            wrote on last edited by
            #5

            Thanks.

            William

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups