CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Join Date
    Apr 2005
    Posts
    1,828

    Creating a virtual mini server

    Is it possible to create a virtual mini server (like IIS) that takes http request? I have a toolbar that queries an DLL using http request, and then that DLL stores some arguments in some XML file, which is read by an anti-malware.

    Now every customer can't have an IIS server installed. Most of the end users uses Windows XP home edition. So is there a way i can create a virtual mini server that can be used in these PCs for placing http request?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Creating a virtual mini server

    Victor Nijegorodov

  3. #3
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: Creating a virtual mini server

    You can also create your own local server with the Windows HTTP Server API.

  4. #4
    Join Date
    Apr 2005
    Posts
    1,828

    Re: Creating a virtual mini server

    Quote Originally Posted by OReubens View Post
    You can also create your own local server with the Windows HTTP Server API.
    Sounds good? How can I accompalish this? Can you show me some example in VC++.

    @Victor, thanks for the link. The customer has strictly said that he wants it in VC++, not C# as most of his customers still use Windows XP, therefore don't have .NET environment

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Creating a virtual mini server

    Quote Originally Posted by maverick786us View Post
    ...
    @Victor, thanks for the link. The customer has strictly said that he wants it in VC++, not C# as most of his customers still use Windows XP, therefore don't have .NET environment
    I do use XP and never had any problem with C# applications nor with .NET environment.
    Anyway you can include installation of .NET of almost any versions in your setup packet.
    Victor Nijegorodov

  6. #6
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Creating a virtual mini server

    Quote Originally Posted by maverick786us View Post
    Sounds good? How can I accompalish this? Can you show me some example in VC++.

    @Victor, thanks for the link. The customer has strictly said that he wants it in VC++, not C# as most of his customers still use Windows XP, therefore don't have .NET environment
    Do his customers install windows updates? If so, they already have .Net. If not, it's simple to include in an app setup program.

  7. #7
    Join Date
    Apr 2005
    Posts
    1,828

    Re: Creating a virtual mini server

    Quote Originally Posted by VictorN View Post
    I do use XP and never had any problem with C# applications nor with .NET environment.
    Anyway you can include installation of .NET of almost any versions in your setup packet.
    Quote Originally Posted by Arjay View Post
    Do his customers install windows updates? If so, they already have .Net. If not, it's simple to include in an app setup program.
    I tried to convince him on this that, .NET environment is installed with Windows XP service packs. But he is sticking to his thoughts that he doesn't want any involvement of .NET and want to stick with VC++

  8. #8
    Join Date
    Apr 2005
    Posts
    1,828

    Re: Creating a virtual mini server

    Is there any limitation in using this ISAPI?

    http://www.informit.com/library/cont...lus&seqNum=100

  9. #9
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Creating a virtual mini server

    I didn't ever use it, however, since the "Table of Contents" refers to C++6.0 then all the limitations should be in relations with C++6.0 ones.
    Just try it!
    Victor Nijegorodov

  10. #10
    Join Date
    Apr 2005
    Posts
    1,828

    Re: Creating a virtual mini server

    Quote Originally Posted by VictorN View Post
    I didn't ever use it, however, since the "Table of Contents" refers to C++6.0 then all the limitations should be in relations with C++6.0 ones.
    Just try it!
    Can ISAPI run without IIS Server? As mentioned here

    http://www.codeproject.com/Articles/...pplications-Pr

    It uses IIS process address space thus, interacting with the IIS Server.

  11. #11
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Creating a virtual mini server

    And what did MSDN write about ISAPI?
    Victor Nijegorodov

  12. #12
    Join Date
    Apr 2005
    Posts
    1,828

    Re: Creating a virtual mini server

    In that case I have to look for some other solution, end users don't have IIS Server

  13. #13
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Creating a virtual mini server

    End users do have IIS, as every Windows does. But piling up an IIS-based solution just for getting XML docs is an overkill as for me.

    Google for light weight web server lib c++ and choose some.
    Best regards,
    Igor

  14. #14
    Join Date
    Apr 2005
    Posts
    1,828

    Re: Creating a virtual mini server

    Quote Originally Posted by Igor Vartanov View Post
    End users do have IIS, as every Windows does. But piling up an IIS-based solution just for getting XML docs is an overkill as for me.

    Google for light weight web server lib c++ and choose some.
    Windows XP home users, don't have IIS server, even for professional users, they have to add IIS by going into Add/Remove Windows component. What I am looking for is, the example that Victor provided in his first thread, but developed in VC++ instead of .NET. Because the client has strictly said that he wants it in VC++.
    Last edited by maverick786us; July 30th, 2014 at 05:16 AM.

  15. #15
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Creating a virtual mini server

    Victor Nijegorodov

Page 1 of 2 12 LastLast

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