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. Best way to call REST Service from C++

Best way to call REST Service from C++

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++jsontutorialquestion
8 Posts 2 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.
  • P Offline
    P Offline
    ptr_Electron
    wrote on last edited by
    #1

    I have REST implemented in C#, I will need to call REST from existing C++ Legacy code. What is the best way to do this. Please point me to some working example. URL Thank you

    L 1 Reply Last reply
    0
    • P ptr_Electron

      I have REST implemented in C#, I will need to call REST from existing C++ Legacy code. What is the best way to do this. Please point me to some working example. URL Thank you

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Call your C# from C++.

      The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

      L 1 Reply Last reply
      0
      • L Lost User

        Call your C# from C++.

        The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Was there supposed to be a link under that message?

        L 1 Reply Last reply
        0
        • L Lost User

          Was there supposed to be a link under that message?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Here you go. I respond based on the level of enthusiasm displayed. [c++ cli - Calling C# code from C++ - Stack Overflow](https://stackoverflow.com/questions/778590/calling-c-sharp-code-from-c) (I expected most to lose interest in the "call C#" part). Then there's the "indirect" methods, like message queues, etc.

          The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

          L 1 Reply Last reply
          0
          • L Lost User

            Here you go. I respond based on the level of enthusiasm displayed. [c++ cli - Calling C# code from C++ - Stack Overflow](https://stackoverflow.com/questions/778590/calling-c-sharp-code-from-c) (I expected most to lose interest in the "call C#" part). Then there's the "indirect" methods, like message queues, etc.

            The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Thanks Gerry, but it's the OP who needs the information, not me. I merely wondered whether you had tried to post a link and something had gone wrong.

            L 1 Reply Last reply
            0
            • L Lost User

              Thanks Gerry, but it's the OP who needs the information, not me. I merely wondered whether you had tried to post a link and something had gone wrong.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Yeah, but you're the one that responded. Frankly, I thought calling your own code would be obvious as is "Google".

              The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

              L 1 Reply Last reply
              0
              • L Lost User

                Yeah, but you're the one that responded. Frankly, I thought calling your own code would be obvious as is "Google".

                The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Shouldn't you be asleep still? Or are you on the easternmost tip?

                L 1 Reply Last reply
                0
                • L Lost User

                  Shouldn't you be asleep still? Or are you on the easternmost tip?

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  I had a nap after supper. Now I need to get sleepy again.

                  The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

                  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