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. Managed C++/CLI
  4. MC++ and Consuming a Web Service

MC++ and Consuming a Web Service

Scheduled Pinned Locked Moved Managed C++/CLI
helpcsharpc++visual-studiocom
6 Posts 2 Posters 19 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
    Paul Watson
    wrote on last edited by
    #1

    *sigh* My head hurts. So eventually I have decided to stop banging it against VS.NET, and ask you. All I want to do is use the CodeProject WebService in a MC++ class library. I tried to use the Add Web Reference method but for the life of me I cannot then use the newly created WebService.h and latestbrief.dll files. In the AutoComplete there is no reference to LatestBrief, CodeProject, Service1 or even HolyMotherOfGodThereAreALotOFThingsInAMC++AutoCompleteList. I even did what the "Walthrugh: Accessing an XML Web Service Using Managed Extensions C++" article in MSDN said. I know it is something obvious, so please, hit me with it. [edit] There is an "error" in the Task List which reads "f:\data\projects\cp+\cp+classlib\latestbrief.dll Dependency 'latestbrief' of dependency 'CP+ClassLib' is not an assembly.". Could that be the problem? If so, how the hell do I fix that without doing what the help says which is to reinstall VS.NET or the "third party component." ta [edit] thanks. regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

    P 1 Reply Last reply
    0
    • P Paul Watson

      *sigh* My head hurts. So eventually I have decided to stop banging it against VS.NET, and ask you. All I want to do is use the CodeProject WebService in a MC++ class library. I tried to use the Add Web Reference method but for the life of me I cannot then use the newly created WebService.h and latestbrief.dll files. In the AutoComplete there is no reference to LatestBrief, CodeProject, Service1 or even HolyMotherOfGodThereAreALotOFThingsInAMC++AutoCompleteList. I even did what the "Walthrugh: Accessing an XML Web Service Using Managed Extensions C++" article in MSDN said. I know it is something obvious, so please, hit me with it. [edit] There is an "error" in the Task List which reads "f:\data\projects\cp+\cp+classlib\latestbrief.dll Dependency 'latestbrief' of dependency 'CP+ClassLib' is not an assembly.". Could that be the problem? If so, how the hell do I fix that without doing what the help says which is to reinstall VS.NET or the "third party component." ta [edit] thanks. regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      Figured it out. Firstly intellisense did not list LatestBrief, and me not being very C++ aware, thought that meant the WebService method was not available. How naive! Still getting that Dependency 'latestbrief' of dependency 'CP+ClassLib' is not an assembly. error though. But at least I can get the data now. regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

      N 1 Reply Last reply
      0
      • P Paul Watson

        Figured it out. Firstly intellisense did not list LatestBrief, and me not being very C++ aware, thought that meant the WebService method was not available. How naive! Still getting that Dependency 'latestbrief' of dependency 'CP+ClassLib' is not an assembly. error though. But at least I can get the data now. regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        Paul! What are you doing??? You been MC++ing for a while now! Are you developing some kinda killer app with MC++ ??? Nish


        Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

        P 1 Reply Last reply
        0
        • N Nish Nishant

          Paul! What are you doing??? You been MC++ing for a while now! Are you developing some kinda killer app with MC++ ??? Nish


          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          Nishant S wrote: What are you doing??? You been MC++ing for a while now! Are you developing some kinda killer app with MC++ ??? LOL, all will be revealed when I submit my article for the competition (I will be shaving the closing deadline rather close :-D ) Obviously it is not a killer app, too much overhead for me in learning MC++ to produce a killer app on my first go. But it is pretty cool nonetheless, uses a host of new capabilities in the language and framework. A clue: It uses the Code Project webservice, but is not a screen saver or a ticker effort. I actually only got serious on the article this monday, been fooling around figuring things out up until that point. Now my ass is in gear :-D regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

          N 1 Reply Last reply
          0
          • P Paul Watson

            Nishant S wrote: What are you doing??? You been MC++ing for a while now! Are you developing some kinda killer app with MC++ ??? LOL, all will be revealed when I submit my article for the competition (I will be shaving the closing deadline rather close :-D ) Obviously it is not a killer app, too much overhead for me in learning MC++ to produce a killer app on my first go. But it is pretty cool nonetheless, uses a host of new capabilities in the language and framework. A clue: It uses the Code Project webservice, but is not a screen saver or a ticker effort. I actually only got serious on the article this monday, been fooling around figuring things out up until that point. Now my ass is in gear :-D regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #5

            Paul Watson wrote: too much overhead for me in learning MC++ I hope some of my MC++ intro articles were useful :-) Paul Watson wrote: I submit my article for the competition Cool! I am submitting one too :-) Nish


            Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

            P 1 Reply Last reply
            0
            • N Nish Nishant

              Paul Watson wrote: too much overhead for me in learning MC++ I hope some of my MC++ intro articles were useful :-) Paul Watson wrote: I submit my article for the competition Cool! I am submitting one too :-) Nish


              Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

              P Offline
              P Offline
              Paul Watson
              wrote on last edited by
              #6

              Nishant S wrote: I hope some of my MC++ intro articles were useful Most definitley Nish. You are a great editor and article writer. You should check the messages on your articles, I posted one (the MC++ intro that that one idiot wrote that nasty post on.) Nishant S wrote: Cool! I am submitting one too Ahh damn, and here I was hoping I was going to win, and then you come along. Dang, going to have to settle for second place I guess. regards, Paul Watson Bluegrass Cape Town, South Africa The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge Alison Pentland wrote: I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!

              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