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. C / C++ / MFC
  4. Access Java class from VC++

Access Java class from VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++javaquestion
4 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.
  • C Offline
    C Offline
    Chintan
    wrote on last edited by
    #1

    Sir.....is it possible to access/use java class from VC++ ? If so...please let me know the mathod Thanks a lot !!!!!!! C.R.Naik

    A K 2 Replies Last reply
    0
    • C Chintan

      Sir.....is it possible to access/use java class from VC++ ? If so...please let me know the mathod Thanks a lot !!!!!!! C.R.Naik

      A Offline
      A Offline
      adapterJohn
      wrote on last edited by
      #2

      well I don't think it is possible...:)

      1 Reply Last reply
      0
      • C Chintan

        Sir.....is it possible to access/use java class from VC++ ? If so...please let me know the mathod Thanks a lot !!!!!!! C.R.Naik

        K Offline
        K Offline
        KingTermite
        wrote on last edited by
        #3

        Yes, but its ugly. We did it for a project at work. You have to use COM, which means you have to use MS J++ (or J# now) and expose a COM interface to be accessed from the C++ side. I don't know it well enough to go through the details. If you are using .NET, then you should probably be able to access the J# Java classes seamlessly. At least that's what I've been told about VS.NET though I haven't played with it much yet. There are only 10 types of people in this world....those that understand binary, and those that do not.

        C 1 Reply Last reply
        0
        • K KingTermite

          Yes, but its ugly. We did it for a project at work. You have to use COM, which means you have to use MS J++ (or J# now) and expose a COM interface to be accessed from the C++ side. I don't know it well enough to go through the details. If you are using .NET, then you should probably be able to access the J# Java classes seamlessly. At least that's what I've been told about VS.NET though I haven't played with it much yet. There are only 10 types of people in this world....those that understand binary, and those that do not.

          C Offline
          C Offline
          Chintan
          wrote on last edited by
          #4

          Thanks a lot for showing me "a window of good hope". I will go further on this way and if will found the way then I will write you. Thanks again. C.R.Naik

          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