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. Java
  4. call c# function in java

call c# function in java

Scheduled Pinned Locked Moved Java
csharptutorialjavahelp
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.
  • R Offline
    R Offline
    raesa
    wrote on last edited by
    #1

    Hi... I have to call a csharp function in Java. Can somebody give me a small example of how to do this. Please do help me out. Thnx.

    N V 2 Replies Last reply
    0
    • R raesa

      Hi... I have to call a csharp function in Java. Can somebody give me a small example of how to do this. Please do help me out. Thnx.

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      All the references I have come across require a bridge between the two environments. The most common approach, used for ad-hoc projects as well as commercial solutions, is to wrap the two sides with a coms layer sending XML messages. Have a google for 'java c# interop' and read up on the subject. Also see here[^]


      Panic, Chaos, Destruction. My work here is done.

      R 1 Reply Last reply
      0
      • N Nagy Vilmos

        All the references I have come across require a bridge between the two environments. The most common approach, used for ad-hoc projects as well as commercial solutions, is to wrap the two sides with a coms layer sending XML messages. Have a google for 'java c# interop' and read up on the subject. Also see here[^]


        Panic, Chaos, Destruction. My work here is done.

        R Offline
        R Offline
        raesa
        wrote on last edited by
        #3

        Thnx for the help, i'll check it out.

        1 Reply Last reply
        0
        • R raesa

          Hi... I have to call a csharp function in Java. Can somebody give me a small example of how to do this. Please do help me out. Thnx.

          V Offline
          V Offline
          Vitaly Shelest
          wrote on last edited by
          #4

          See articles Java/.NET Integration as Simple as Possible[^] Hosting WPF Content in a Java Application[^]

          R 1 Reply Last reply
          0
          • V Vitaly Shelest

            See articles Java/.NET Integration as Simple as Possible[^] Hosting WPF Content in a Java Application[^]

            R Offline
            R Offline
            raesa
            wrote on last edited by
            #5

            Thnx alot for the help.

            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