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. Other Discussions
  3. IT & Infrastructure
  4. integrating languages

integrating languages

Scheduled Pinned Locked Moved IT & Infrastructure
tutorialcsharpc++dotnetquestion
3 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
    rigamonk
    wrote on last edited by
    #1

    One of the strengths touted about for .NET is the interoperability between languages. Is there some info about how to do this...a pratical guide of sorts. How would I, for example, create a form in vb, and then create the backend in c++.... i realize that these get compiled into IL...but how would i do a multi language "hello world" type thing? tia patrick

    J N 2 Replies Last reply
    0
    • R rigamonk

      One of the strengths touted about for .NET is the interoperability between languages. Is there some info about how to do this...a pratical guide of sorts. How would I, for example, create a form in vb, and then create the backend in c++.... i realize that these get compiled into IL...but how would i do a multi language "hello world" type thing? tia patrick

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      Well, create an MC++ backend DLL, and then reference that DLL from your VB EXE, exactly as you would if the DLL was a VB DLL. It's that simple. :) If you want to mix them in the same assembly, you'll have to compile them to .NETMODULEs and then merge them. SharpDevelop makes this feature available in the IDE, but VS.NET does not, so with VS.NET, it's a little more tricky - you have to compile the projects using the command line. Usually, though, there's no need to put them together into one assembly, so you can do it the easy way.

      **"Be not overcome with evil, but overcome evil with good." -- Romans 12:21

      FLUID UI Toolkit | FloodFill in C# & GDI+**

      1 Reply Last reply
      0
      • R rigamonk

        One of the strengths touted about for .NET is the interoperability between languages. Is there some info about how to do this...a pratical guide of sorts. How would I, for example, create a form in vb, and then create the backend in c++.... i realize that these get compiled into IL...but how would i do a multi language "hello world" type thing? tia patrick

        N Offline
        N Offline
        Nick Parker
        wrote on last edited by
        #3

        rigamonk wrote: Is there some info about how to do this...a pratical guide of sorts. I wrote an article that covers this idea: Cross Language Web Service Implementation[^]

        -Nick Parker DeveloperNotes.com

        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