MC++ and Consuming a Web Service
-
*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!
-
*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!
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!
-
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!
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]
-
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]
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!
-
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!
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]
-
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]
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!