title: How can I add a reference to asp.net project (wcf or html page) in my c++ project
body: <p>I'm working on a project which is composed of two parts:processing part-written in c++, and UI part-written in asp.net c#.
  I made an http request from the c++ project to a page in the asp.net part.
  the problem is that I don't know how to add a reference to the web project(a page in it) in my c++ project, so the c++ part could communicate with the c# part. http request will be executed well.</p>
  
  <p>Do you know how I can make the c++ part know the asp.net page(something like add web reference in c#,but now I need that in c++).</p>
  
  <p>I wrote the following code of the http request in c++:</p>
  
  <pre><code> HINTERNET handle = InternetOpen("Upload", INTERNET_OPEN_TYPE_DIRECT,     
            NULL, NULL, 0);
  if (handle)
  {
  
      HINTERNET handleConnect = 
                      InternetConnect(handle, "localhost:4653/webservice.asmx", 
                               INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, 
                               INTERNET_SERVICE_HTTP, NULL, NULL);
      if (handleConnect)
      {
          if (HINTERNET handleOpenReq = 
                          HttpOpenRequest(handleConnect, TEXT("POST"), 
                                 TEXT("/HelloWorld"), NULL, NULL, NULL, 
                                 INTERNET_FLAG_KEEP_CONNECTION, 0))
          {
              if (HttpSendRequest(handleOpenReq, NULL, 0, NULL 
                                               ,0))
                  cout &lt;&lt; "ddddd" &lt;&lt; endl;
              else
              {
                  DWORD p = GetLastError();
                  int a = 9;
              }
          }
  
      }
  }
  </code></pre>
  
  <p>but httpsendrequest returns 0. I think that's because I have no a reference to my asp.net project..am I right? if so, How could I add that?
  thanks</p>