CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13
  1. #1
    Join Date
    May 2002
    Posts
    1,798

    Angry Problem compiling Managed C++ code using VC 7.0

    I want to build a C++ managed code executable to run on a remote MS server. I have had no success in writing Web Service applications as yet.


    error VCD0041: IIS must be installed on this machine in order for this program to function correctly.

    OK. I thought at least I could build it locally without the server, then upload the executable to my server. Guess not.

    Next, I went to IIS at Microsoft with the thought of downloading IIS and installing it on my local machine -- simply so that I could build a Managed C++ Web Service. But this seems extremely impractical. First, the software is huge and expensive (at least for my limited budget). Second, I don't want to run my local machine (Dell Inspiron Laptop) as a Web Server.

    Any of you gurus have thoughts you'd like to share on this dilemma?

    Thanks for your ideas.

    Mike
    mpliam

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Problem compiling Managed C++ code using VC 7.0

    IIS should be on the same CD/DVD with Windows XP/2000/2003.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Problem compiling Managed C++ code using VC 7.0

    You can set to exclude the deployment from build process and do it manually wherever you want, try setting the Project Properties->Web Deployment->Excluded From Buid = Yes (It is 'No' as default value).
    Regards,
    Ramkrishna Pawar

  4. #4
    Join Date
    May 2002
    Posts
    1,798

    Smile Re: Problem compiling Managed C++ code using VC 7.0

    Thanks.

    Excluding the deployment from the build works just fine.

    Mike
    mpliam

  5. #5
    Join Date
    May 2002
    Posts
    1,798

    Re: Problem compiling Managed C++ code using VC 7.0

    OK. So now I've got my Web Service DLL. How do I get it to perform on my remote server. Obviously, the first thing is to upload it to a server directory. Next, I will need a way for the user to call the Web Service DLL into action from an HTML or ASP doc. Where do I find how to do that ?

    Thanks again for the great help.

    Mike
    mpliam

  6. #6
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

  7. #7
    Join Date
    May 2002
    Posts
    1,798

    Re: Problem compiling Managed C++ code using VC 7.0

    Thanks Krishnaa.

    I'll check them out.

    Mike
    mpliam

  8. #8
    Join Date
    May 2002
    Posts
    1,798

    Re: Problem compiling Managed C++ code using VC 7.0

    Krishnaa.

    All of the references you provided deal with creating and 'consuming' a Web Service using C#. Because I don't have C# and havn't used it (I only have the Microsoft Visual C++.NET with VC 7.0), while I can write a Managed C++ Web Service, I cannot figure out how to deploy it on a remote server. Specifically, I would like a client to be able to invoke the web service from an HTTP or ASP page that also resides on the remote server.

    Are there any SIMPLE examples of such an ASP or HTTP page ?

    Thanks again.

    Mike
    mpliam

  9. #9
    Join Date
    Jun 2011
    Posts
    1

    Re: Problem compiling Managed C++ code using VC 7.0


  10. #10
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,675

    Re: Problem compiling Managed C++ code using VC 7.0

    I really hope he already tried this (or whatever) with success sometime in the past 5 years...

    Anyway, welcome to CodeGuru!
    I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

    This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.

  11. #11
    Join Date
    Jul 2002
    Posts
    2,543

    Re: Problem compiling Managed C++ code using VC 7.0

    Who knows... Maybe he is still waiting for an answer.

  12. #12
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,675

    Re: Problem compiling Managed C++ code using VC 7.0

    Yes, that's why I wrote "I hope". (Unfortunately, my hopes don't always get fulfilled...)
    I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

    This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.

  13. #13
    Join Date
    May 2002
    Posts
    1,798

    Re: Problem compiling Managed C++ code using VC 7.0

    Thanks. Your hope has been realized. I'll get back and let you know how it works out, as I never did solve the problem.
    mpliam

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured